fuzzbench icon indicating copy to clipboard operation
fuzzbench copied to clipboard

Fix the setup of Grimoire

Open renatahodovan opened this issue 1 year ago • 3 comments

The previous version of fuzzer.py was possibly copy-pasted from Nautilus and applied unexpected CLI setup. The patch fixes these issues.

renatahodovan avatar Sep 20 '24 06:09 renatahodovan

Honestly, I'm not an expert on Grimoire, but I encountered this issue while trying to execute it. As far as I know, Grimoire doesn't require a grammar, and looking into the implementation of its CLI supports this here.

@DonggeLiu @addisoncrump You seem familiar with LibAFL-based fuzzers. Could you please take a look at this?

renatahodovan avatar Sep 20 '24 06:09 renatahodovan

@addisoncrump I'm not sure that my patch above is correct. Even if neither -r, nor -g are supported by the Grimoire implementation of libafl_fuzzbench, but while -g is reasonable since Grimoire doesn't use a grammar, but -r might be needed to avoid putting the internal representation of the test cases to the output corpus. But the -r support should be implemented in libafl_fuzzbench. Or am I wrong?

renatahodovan avatar Sep 23 '24 07:09 renatahodovan

Hey, sorry for the delay on response. The repo you're pulling from is somewhat outdated, and I've not used that fuzzer. Instead, you might consider looking at (what used to be called) libafl_text from some revisions ago. We removed it because we found that grimoire was not relevant for the targets being benchmarked for the most part.

addisoncrump avatar Sep 27 '24 23:09 addisoncrump