This repository implements ABOM as a clang wrapper.
pip install -e .
Note that clang and llvm-objcopy must both be avilable in the PATH.
To compile a program with ABOM, run the following command:
abom CLANG_CMD
To calculate the hash of a file, run the following command:
abom-hash <file>
To check whether a certain dependency is present in the ABOM-compiled program, run the following command:
abom-check <binary> <dependency_hash>
To enable verbose logging, set the environment variable ABOM_VERBOSE
to 1
, e.g.:
export ABOM_VERBOSE=1
To run unit tests, run the following command from the root directory:
python -m unittest