#bindings #security

no-std tinyinst

Rust bindings for googleprojectzero/TinyInst

2 releases

Uses new Rust 2024

0.1.1 Dec 3, 2025
0.1.0 Jan 10, 2023

#685 in Testing

Download history 1330/week @ 2025-12-10 338/week @ 2025-12-17 348/week @ 2025-12-24 903/week @ 2025-12-31 586/week @ 2026-01-07 374/week @ 2026-01-14 456/week @ 2026-01-21 154/week @ 2026-01-28 418/week @ 2026-02-04 78/week @ 2026-02-11 108/week @ 2026-02-18 180/week @ 2026-02-25 73/week @ 2026-03-04 189/week @ 2026-03-11 108/week @ 2026-03-18 224/week @ 2026-03-25

596 downloads per month

MIT/Apache

32KB
769 lines

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.

Dependencies

~1–3.5MB
~64K SLoC