Skip to content

Code used in a short tutorial on LLVM passes for the Software Reliablity Group (SRG) at Imperial

License

Notifications You must be signed in to change notification settings

delcypher/srg-llvm-pass-tutorial

Repository files navigation

LLVM passes tutorial

These are the sources used in a tutorial given to the Software Reliability Group at Imperial College London.

To get started run...

Install or build LLVM 3.5 with the corresponding clang and compiler-rt and then run the following.

$ cd /some/path
$ git clone git://github.com/delcypher/srg-llvm-pass-tutorial.git src/
$ mkdir build
$ cd build
$ cmake-gui ../src
$ make

You may need to specify the LLVM_DIR variable to CMake so it knows where to find the LLVM CMake modules. This should be a directory to the folder containing LLVMConfig.cmake. Typically this is something like /path/to/llvm/build/share/llvm/cmake/. You can specify this on the command-line instead of using cmake-gui or ccmake like so...

$ cmake -DLLVM_DIR:STRING=/path/to/llvm/build/share/llvm/cmake/ ../src

About

Code used in a short tutorial on LLVM passes for the Software Reliablity Group (SRG) at Imperial

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published