AFLplusplus / AFLplusplus/LibAFL

IfElseRuntime incorrect behaviour

Offen
#3,460 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
Rust
Sterne
2.6k
Forks
481
Ø Merge
2 T. 30 Min.
Gemergte PRs (30 T.)
16

Beschreibung

**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`.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.