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 4747
4848 - name : ' 🚧 Build sample'
4949 run : |
50- cargo build --release --example sample --features env_logger
50+ cargo build --release --example sample --features env_logger,bindings
5151
5252 - name : ' 🚧 AFLplusplus Checkout'
5353 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>(
126126}
127127
128128/// Fuzzing entrypoint for FFI
129+ #[ cfg( feature = "bindings" ) ]
129130#[ unsafe( no_mangle) ]
130131#[ allow( non_camel_case_types) ]
131132pub extern "C" fn uc_afl_fuzz (
@@ -154,6 +155,7 @@ pub extern "C" fn uc_afl_fuzz(
154155}
155156
156157/// Custom fuzzing entrypoint for FFI
158+ #[ cfg( feature = "bindings" ) ]
157159#[ unsafe( no_mangle) ]
158160#[ allow( non_camel_case_types) ]
159161pub extern "C" fn uc_afl_fuzz_custom (
@@ -323,7 +325,7 @@ fn uc_afl_fuzz_internal(
323325 }
324326}
325327
326- #[ cfg( feature = "bindings " ) ]
328+ #[ cfg( feature = "python " ) ]
327329pub mod bindings;
328- #[ cfg( feature = "bindings " ) ]
330+ #[ cfg( feature = "python " ) ]
329331pub use bindings:: * ;
You can’t perform that action at this time.
0 commit comments