Skip to content

fnhirwa/struco

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Extract LLVM IR and CFG from C/C++ and Python Source Code

This is a simple tool to extract LLVM IR from C/C++ and Python source code. It uses Clang to extract LLVM IR from C/C++ source code and uses Codon to extract LLVM IR from Python source code. It also extracts the control flow graph (CFG) from the LLVM IR.

The extracted CFG can be visualized as PDF or PNG files.

Running the program

python3 main.py <source_file> --cfg_format <cfg_output_file_format>

Contributors

About

Extracting IR and CFG from C/C++ and Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages