# llvm_CFGPass **Repository Path**: mr_la_la_la/llvm_CFGPass ## Basic Information - **Project Name**: llvm_CFGPass - **Description**: llvm control flow graph - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-01-12 - **Last Updated**: 2022-01-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 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.