File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 47
47
48
48
- name : ' 🚧 Build sample'
49
49
run : |
50
- cargo build --release --example sample --features env_logger
50
+ cargo build --release --example sample --features env_logger,bindings
51
51
52
52
- name : ' 🚧 AFLplusplus Checkout'
53
53
uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -126,6 +126,7 @@ pub fn afl_fuzz<'a, D: 'a>(
126
126
}
127
127
128
128
/// Fuzzing entrypoint for FFI
129
+ #[ cfg( feature = "bindings" ) ]
129
130
#[ unsafe( no_mangle) ]
130
131
#[ allow( non_camel_case_types) ]
131
132
pub extern "C" fn uc_afl_fuzz (
@@ -154,6 +155,7 @@ pub extern "C" fn uc_afl_fuzz(
154
155
}
155
156
156
157
/// Custom fuzzing entrypoint for FFI
158
+ #[ cfg( feature = "bindings" ) ]
157
159
#[ unsafe( no_mangle) ]
158
160
#[ allow( non_camel_case_types) ]
159
161
pub extern "C" fn uc_afl_fuzz_custom (
@@ -323,7 +325,7 @@ fn uc_afl_fuzz_internal(
323
325
}
324
326
}
325
327
326
- #[ cfg( feature = "bindings " ) ]
328
+ #[ cfg( feature = "python " ) ]
327
329
pub mod bindings;
328
- #[ cfg( feature = "bindings " ) ]
330
+ #[ cfg( feature = "python " ) ]
329
331
pub use bindings:: * ;
You can’t perform that action at this time.
0 commit comments