
* Move from gothook to frida-based hooks * Force link against libc++ * Clippy + cleanup prints * exclude ranges * Add back guard pages; Implement libc hooks * Bump frida-rust version * Add hooks for mmap/munmap, as per issue #105 * Refactor to get rid of global allocator singleton * Cleanup imports; Fix free out-of-range; Move to fixed addresses for asan allocatoins * use frida-rust from crates.io now that it has caught up * cargo fmt * Clippy fixes * Better clippy fix * More clippy fix * Formatting * Review changes
9 lines
178 B
Rust
9 lines
178 B
Rust
// build.rs
|
|
|
|
fn main() {
|
|
cc::Build::new().file("src/gettls.c").compile("libgettls.a");
|
|
|
|
// Force linking against libc++
|
|
println!("cargo:rustc-link-lib=dylib=c++");
|
|
}
|