AFLplusplus / LibAFL

Advanced Fuzzing Library - Slot your Fuzzer together in Rust! Scales across cores and machines. For Windows, Android, MacOS, Linux, no_std, ...
Other
2.03k stars 319 forks source link

Bug in EncodedMutation #664

Closed Lukas-Dresel closed 2 years ago

Lukas-Dresel commented 2 years ago

https://github.com/AFLplusplus/LibAFL/blob/2e746bf439629e4fe8fa47cf9f39acd1395c828f/libafl/src/mutators/encoded_mutations.rs#L423

Is this a bug? It says other testcase, but references the same testcase as the previous corpus indexing call.

Lukas-Dresel commented 2 years ago

Oh actually, my bad. It's just slightly inefficient loading it twice? I missed that the Input is supposed to be the first testcase.