Kraks / LLAAM

Low-Level Abstracting Abstract Machine
2 stars 0 forks source link

LLAAM: Low-Level Abstracting Abstract Machine

Supported Instructions

LLAAM is still early work in progress. For now, it supports ReturnInst, CallInst (with special treatments for malloc and free), LoadInst, StoreInst, AllocaInst, GetElementPtrInst, Add, Sub, Mul, ICmpInst, BranchInst, BitCastInst, SExtInst, ZExtInst, TruncInst, and PHINode.

How to build

LLAAM works as a pass in LLVM, it has been tested on LLVM 3.9.1.

To build it:

Then you can use command line tool opt to invoke it:

opt -load build_of_llvm/lib/LLVMAAM.dylib -aam < code.ll > /dev/null.