tinyinst

Crates.iotinyinst
lib.rstinyinst
version0.1.1
created_at2023-01-10 10:06:28.191894+00
updated_at2025-12-03 13:54:06.270636+00
descriptionRust bindings for googleprojectzero/TinyInst
homepage
repositoryhttps://github.com/AFLplusplus/tinyinst-rs/
max_upload_size
id755186
size74,472
AFLplusplus (aflpp)

documentation

README

tinyinst-rs

FFI to TinyInst. Created for LibAFL.

Dependencies

  • Visual Studio 2022
  • cargo-make
  • python3
  • git
  • cxxbridge@=1.0.190 (or latest version from Cargo.toml)

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 install just to install just.
  3. Run just build_test to build the test binary
  4. 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.
Commit count: 56

cargo fmt