Crash and Timeout fuzzer messages are never sent (no solutions in log.json, no solution traces)

Abierto
#400 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
55/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
rust
Área
security, testing

Línea de trabajo

Start with the feedback and objective handling in src/fuzzer/feedbacks/mod.rs and src/fuzzer/mod.rs, then inspect message handling in src/log/mod.rs. Trace how LibAFL processes objectives before corpus feedback, and check whether crash and timeout messages reach the logger and execution trace saving paths. Done means both outcomes produce the expected log entries and traces; the issue notes this has not been reproduced under SIMICS.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Where

Problem
ReportingMapFeedback sends FuzzerMessage::Crash / Timeout, but it is part of the corpus feedback. LibAFL's process_execution evaluates the objective first and skips the feedback entirely when the objective (feedback_or_fast!(crash_feedback, timeout_feedback)) fires. So the Crash/Timeout branches are unreachable.

Impact
Crashing or timing-out inputs produce no Solution/Timeout entry in log.json and no "Solution input" log line; save_solution_execution_traces and save_timeout_execution_traces never save anything. Since #393 the timeout half is unreachable too (before it, the timeout objective never fired).

Suggested fix
Wrap the objective in a small reporting feedback that sends Crash/Timeout when the inner feedback returns true, and delete the dead branches. In log/mod.rs, log Solution/Timeout unconditionally (they are also gated on edges_seen_since_last being non-empty).

Related
#393

Status
Confirmed by reading the code at 79972db. Found by reading the code; not reproduced under SIMICS.

Lenguaje dominante
Rust
Estrellas
335
Forks
26
Merge medio
1 d 50 min
PR fusionados (30 d)
12

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de intel/tsffs

Todos los issues de intel/tsffs

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.