diff options
author | van Hauser <vh@thc.org> | 2023-01-05 13:51:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-05 13:51:20 +0100 |
commit | 3b6fcd911a860a8c823c912c4b08b423734e4cfe (patch) | |
tree | cc2599499e847c4ac661988d1c5fe7b35a5ef82e /custom_mutators/rust/custom_mutator-sys | |
parent | 60dc37a8cf09f8e9048e4b6a2204d6c90b27655a (diff) | |
parent | a3b56e7280cb5b5cea21c66c40d4390db6f13b8f (diff) | |
download | afl++-3b6fcd911a860a8c823c912c4b08b423734e4cfe.tar.gz |
Merge pull request #1610 from AFLplusplus/dev 4.05c
push to stable
Diffstat (limited to 'custom_mutators/rust/custom_mutator-sys')
-rw-r--r-- | custom_mutators/rust/custom_mutator-sys/Cargo.toml | 6 | ||||
-rw-r--r-- | custom_mutators/rust/custom_mutator-sys/build.rs | 4 | ||||
-rw-r--r-- | custom_mutators/rust/custom_mutator-sys/src/lib.rs | 2 |
3 files changed, 7 insertions, 5 deletions
diff --git a/custom_mutators/rust/custom_mutator-sys/Cargo.toml b/custom_mutators/rust/custom_mutator-sys/Cargo.toml index 104f7df0..e38c972e 100644 --- a/custom_mutators/rust/custom_mutator-sys/Cargo.toml +++ b/custom_mutators/rust/custom_mutator-sys/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "custom_mutator-sys" -version = "0.1.0" +version = "0.1.1" authors = ["Julius Hohnerlein <julihoh@users.noreply.github.com>"] -edition = "2018" +edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] [build-dependencies] -bindgen = "0.56" +bindgen = "0.63" diff --git a/custom_mutators/rust/custom_mutator-sys/build.rs b/custom_mutators/rust/custom_mutator-sys/build.rs index 3c88a90d..ba4390ff 100644 --- a/custom_mutators/rust/custom_mutator-sys/build.rs +++ b/custom_mutators/rust/custom_mutator-sys/build.rs @@ -15,8 +15,8 @@ fn main() { // The input header we would like to generate // bindings for. .header("wrapper.h") - .whitelist_type("afl_state_t") - .blacklist_type(r"u\d+") + .allowlist_type("afl_state_t") + .blocklist_type(r"u\d+") .opaque_type(r"_.*") .opaque_type("FILE") .opaque_type("in_addr(_t)?") diff --git a/custom_mutators/rust/custom_mutator-sys/src/lib.rs b/custom_mutators/rust/custom_mutator-sys/src/lib.rs index a38a13a8..719ac994 100644 --- a/custom_mutators/rust/custom_mutator-sys/src/lib.rs +++ b/custom_mutators/rust/custom_mutator-sys/src/lib.rs @@ -1,5 +1,7 @@ #![allow(non_upper_case_globals)] #![allow(non_camel_case_types)] #![allow(non_snake_case)] +#![allow(clippy::too_many_lines)] +#![allow(clippy::used_underscore_binding)] include!(concat!(env!("OUT_DIR"), "/bindings.rs")); |