LLVMIR_BackwardSlicer_with_SVF
This is LLMV IR backward slicer. These codes use SVF library. Please refer to below repo.
Link: SVF
Usage
Before build code, you must run "setup.sh" in SVF.
cd LLVMIR_BackwardSlicer_with_SVF
mkdir build && cd build
cmake ..
make
./bin/TestTool ../testfiles/ir/test.ll ( or your own test.ll or .bc )
Result
Print result of backward slicing each variable.