#automatic #generated-bindings #version #directory #dynamo-rio

sys dynamorio-sys

Automatically generated bindings for DynamoRIO

1 stable release

8.0.0 Nov 13, 2020

#94 in #generated-bindings

MIT/Apache

10KB
136 lines

dynamorio-sys

crates.io mio Lines of Code

A crate to automatically generate Rust bindings to DynamoRIO.

DISCLAIMER : I built this crate to facilitate work I was doing on another project. I am willing to do minimal maintenance if issues arise and/or give ownership to a more motivated developer.

Usage

Before building, you must set the DRIO_BUILD_DIR environment variable to point to a directory that contains the built DynamoRIO source.

In order to enable extensions, use their respective names as features for the crate e.g :

dynamorio-sys = {version = "*", features = ["mgr", "x", "reg", "wrap", "syms"]}

Version

The crate's major and minor version match the major/minor version of the built DynamoRIO. This should allow users to use the latest DynamoRIO patch for their current major/minor while also allowing this crate to fix build issues and update its own patch version.

No runtime deps

~0–1.7MB
~34K SLoC