https://github.com/aflplusplus/tinyinst-rs
Rust bindings for googleprojectzero/TinyInst
https://github.com/aflplusplus/tinyinst-rs
Last synced: 12 months ago
JSON representation
Rust bindings for googleprojectzero/TinyInst
- Host: GitHub
- URL: https://github.com/aflplusplus/tinyinst-rs
- Owner: AFLplusplus
- License: apache-2.0
- Created: 2023-01-09T15:29:16.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-02T12:49:52.000Z (about 1 year ago)
- Last Synced: 2025-07-05T23:28:55.057Z (12 months ago)
- Language: Rust
- Size: 57.6 KB
- Stars: 20
- Watchers: 4
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE.txt
Awesome Lists containing this project
README
# tinyinst-rs
FFI to [TinyInst](https://github.com/googleprojectzero/TinyInst). Created for [LibAFL](https://github.com/AFLplusplus/LibAFL).
## Dependencies
* Visual Studio 2022
* cxxbridge
* cargo-make
* python3
* git
## Running the test
1. Open a terminal and set up your build environment (e.g. On Windows, run Developer Powershell / Developer CMD/ vcvars64.bat / vcvars32.bat)
2. Run `cargo make build_test` to build the test binary
3. Run `cargo test` to run the test
## Optional ENV Variables
`CUSTOM_TINYINST_GENERATOR` = Generator used for cmake `-G` flag
`CUSTOM_TINYINST_DIR` = path to local Tinyinst repo
`CUSTOM_TINYINST_NO_BUILD` = if set, it won't build Tinyinst everytime. Useful when paired with `CUSTOM_TINYINST_DIR`
#### License
Licensed under either of Apache License, Version
2.0 or MIT license at your option.