An open API service indexing awesome lists of open source software.

https://github.com/nickboucher/abom


https://github.com/nickboucher/abom

Last synced: 3 months ago
JSON representation

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
```