AFLplusplus / AFLplusplus/LibAFL

IfElseRuntime incorrect behaviour

Abierto
#3,460 2 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Rust
Estrellas
2.6k
Forks
481
Merge medio
2 d 30 min
PR fusionados (30 d)
16

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.