Dongjia "toka" Zhang d5db2c0e3f
LibAFL: Remove tui_monitor from default features (#2685)
* No Usermode default

* no tui

* gg

* try fix CI

* fmt

---------

Co-authored-by: Dominik Maier <dmnk@google.com>
2024-11-12 22:55:02 -03:00
..
2023-04-26 20:22:57 +02:00

CFG Builder

This script builds the control flow graph (CFG) of the whole program.

To use this, first you have to setup libafl_cc with LLVMPasses::DumpCfg pass. Then, compile the program with env var CFG_OUTPUT_PATH. The llvm pass will dump the cfg of each module into CFG_OUTPUT_PATH directory.

After that, you can run CFG_OUTPUT_PATH=<directory> python3 build.py, and then you'll get the control flow graph in cfg.xdot and call graph in cg.xdot