I have two questions regarding your benchmark:
- Is it possible to perform a mutation analysis for already finished fuzzing campaigns?
- How do you compile the supermutants and run the second phase?
We have 5 (programs) x 20 (campaigns) x 24h (campaign duration) for our fuzzer evaluation. We already have the seed corpus for each finished campaign available. It would be good if we could obtain the total killed and total covered mutant numbers (or phase I covered and phase I killed numbers) for these campaigns as an additional metric.
I see that you use two phases for analysis where 1) you create a seed corpus with maximum coverage over 24h (that would be the equivalent to our existing seed corpus) and 2) re-run fuzzing for 1h against all supermutants of a program. (Hence my question: How do you compile the supermutants and run the fuzzer for phase II?)
For example, we compile lua as follows:
git clone https://github.com/lua/lua.git
cd lua/
sed -i 's/^CC=.*$/CC=\~\/AFLplusplus\/afl-cc/' makefile
CC=~/AFLplusplus/afl-cc \
CXX=~/AFLplusplus/afl-c++ \
AFL_CC_COMPILER=LLVM \
AFL_LLVM_INSTRUMENT=PCGUARD \
AFL_USE_ASAN=1 \
make -j$(nproc)
# this is the final executable/harness used by the fuzzer
~/lua/lua -v
How would you create the respective supermutants and obtain the survived and covered values for a given seed corpus?
I have two questions regarding your benchmark:
We have 5 (programs) x 20 (campaigns) x 24h (campaign duration) for our fuzzer evaluation. We already have the seed corpus for each finished campaign available. It would be good if we could obtain the total killed and total covered mutant numbers (or phase I covered and phase I killed numbers) for these campaigns as an additional metric.
I see that you use two phases for analysis where 1) you create a seed corpus with maximum coverage over 24h (that would be the equivalent to our existing seed corpus) and 2) re-run fuzzing for 1h against all supermutants of a program. (Hence my question: How do you compile the supermutants and run the fuzzer for phase II?)
For example, we compile lua as follows:
How would you create the respective supermutants and obtain the survived and covered values for a given seed corpus?