https://github.com/nickboucher/abom
https://github.com/nickboucher/abom
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nickboucher/abom
- Owner: nickboucher
- Created: 2023-06-18T18:41:13.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-07T14:53:13.000Z (over 1 year ago)
- Last Synced: 2025-01-19T11:44:37.486Z (5 months ago)
- Language: Python
- Size: 101 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ABOM
This repository implements ABOM as a clang wrapper.
## Installation
```bash
pip install -e .
```
Note that clang and llvm-objcopy must both be avilable in the PATH.## Usage
To compile a program with ABOM, run the following command:
```bash
abom CLANG_CMD
```To calculate the hash of a file, run the following command:
```bash
abom-hash
```To check whether a certain dependency is present in the ABOM-compiled program, run the following command:
```bash
abom-check
```To enable verbose logging, set the environment variable `ABOM_VERBOSE` to `1`, e.g.:
```bash
export ABOM_VERBOSE=1
```## Tests
To run unit tests, run the following command from the root directory:
```bash
python -m unittest
```