LibAFL icon indicating copy to clipboard operation
LibAFL copied to clipboard

Show currently fuzzed testcase to TUI

Open domenukk opened this issue 1 year ago • 8 comments

For slower targets, the current cycle count is very very slow. It'd be nice to instead see in the individual fuzzer's output (TUI) what testcase (corpus_idx) is currently scheduled.

domenukk avatar Dec 11 '24 12:12 domenukk

Hi @domenukk
I would love to take this issue .But, I am new to codebase can you guide me for above task.

devratapuri avatar Dec 21 '24 12:12 devratapuri

The important part of this is to fire! an UpdateUserStats event: https://github.com/AFLplusplus/LibAFL/blob/92db678995423c217abdf3614e1ca92571dc151e/libafl/src/events/mod.rs#L303 from a stage, probably from the StatsStage: https://github.com/AFLplusplus/LibAFL/blob/92db678995423c217abdf3614e1ca92571dc151e/libafl/src/stages/afl_stats.rs#L270

And then add that info to the TUI Monitor: https://github.com/AFLplusplus/LibAFL/blob/92db678995423c217abdf3614e1ca92571dc151e/libafl/src/monitors/tui/mod.rs#L387

domenukk avatar Dec 30 '24 20:12 domenukk

Thanks @domenukk for explanation will try to resolve this

devratapuri avatar Dec 31 '24 16:12 devratapuri

Hey @domenukk have tried to change according to steps you mentioned

devratapuri avatar Jan 05 '25 09:01 devratapuri

Hi! I would like to work on this issue. Please assign it to me.

aditi25srivastava avatar Aug 07 '25 09:08 aditi25srivastava

We don't really assign issues. Just make a PR for it...

s1341 avatar Aug 07 '25 09:08 s1341