Skip to content

An LLVM pass for constraints generation for Pointer Analysis

Notifications You must be signed in to change notification settings

DhaliwalX/points-to-constraintgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Constraint generation for LLVM IR

Dependencies

  • LLVM (>=4.0)
  • g++
  • cmake (>=3.1)
  • doxygen

Building

Follow these steps to build this project,

  1. Clone the repository
  git clone https://github.com/princedhaliwal/points-to-constraintgen
  1. Generate Makefiles
  mkdir build
  cd build
  cmake ..
  1. Build
  make
  1. Generating documentation
  cd docs
  doxygen Doxyfile

Running & Testing

There is a test pass built using this library in the tests/ directory. You can use the opt tools provided by LLVM to run the pass.

opt -load <build-dir>/lib/libTestPass.so -test-pass -analyze a.ll

You can test the pass using check target as

make check

About

An LLVM pass for constraints generation for Pointer Analysis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published