AFLplusplus / unicornafl

AFL bindings for Unicorn-Engine
Apache License 2.0
66 stars 32 forks source link

Fix: Unicorn build paths in top-level Makefile and Rust bindings' build.rs #23

Closed mellow-hype closed 11 months ago

mellow-hype commented 12 months ago

I ran into some issues while trying to use the Rust bindings and eventually realized that the Unicorn build directory used in the top-level Makefile didn't match the paths used in bindings/rust/build.rs.

This PR updates the Unicorn build path in Makefile to use build/unicorn so that it's created in the location where build.rs expects it to be. Another minor change was also made to bindings/rust/src/lib.rs to remove warnings about globbed re-exported symbols.

domenukk commented 11 months ago

Thanks!