AFLplusplus / AFLplusplus/LibAFL

IfElseRuntime incorrect behaviour

Aperta
#3,460 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Rust
Stelle
2.6k
Fork
481
Merge medio
2g 30m
PR unite (30g)
16

Descrizione

**Describe the bug**
`FridaRuntime`s used in `IfElseRuntime` do not work correctly. This breaks ASAN in the `frida_libpng` example fuzzer for example.

**To Reproduce**
Either simply run the `frida_libpng` example fuzzer and observe that ASAN is not working correctly, or:

1. Create a fuzzer with `asan` in the `runtimes` for `FridaInstrumentationHelper`
2. Verify that ASAN is enabled and working
3. Replace `asan` with `IfElseRuntime::new(move || Ok(true), tuple_list!(asan), tuple_list!())`
4. Observe that ASAN is no longer working

**Expected behavior**
`IfElseRuntime::new(move || Ok(true), tuple_list!(asan), tuple_list!())` should behave identically to `asan`.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.