Skip to content

bin2415/llvm_CFGPass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

llvm_CFGPass

llvm control flow graph dump

This is a dynamic LLVM Pass which is to give the basicblocks id and profile the ids.

Build the pass by doing that:

  • create a folder by mkdir build

  • cd the build folder and build it: cd build && cmake ../

  • make the project: make

execute by the Pass

opt -load /the/path/of/libCFGPass.so -CFG /the/path/of/llvm/IR/file

then there are the outputs.

About

llvm control flow graph

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published