decomp: Files

Command ll2dot

The ll2dot tool generates control flow graphs from LLVM IR assembly (*.ll -> *.dot).

The input of ll2dot is LLVM IR assembly and the output is a set of Graphviz DOT files, each representing the control flow graph of a function using one node per basic block.

For a source file "foo.ll" containing the functions "bar" and "baz" the following DOT files are generated.

* foo_graphs/
* foo_graphs/


ll2dot [OPTION]... FILE.ll...


-f    force overwrite existing graph directories
-funcs string
      comma-separated list of functions to parse
      generate an image representation of the control flow graph
-q    suppress non-error messages

Package Files


Package main imports 16 packages (graph). Updated 2019-09-07. Refresh now. Tools for package owners.