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.04k stars 319 forks source link

Most MapObservers have an unchangeable initial field #2447

Open addisoncrump opened 3 months ago

addisoncrump commented 3 months ago

This limits the relevance of the initial field. We should either make this settable (in constructor or otherwise) or remove the field.

domenukk commented 3 months ago

What's an initial set? The initial value?

domenukk commented 3 months ago

Probably referring to this dude https://github.com/AFLplusplus/LibAFL/blob/76e1b4cb1e2bcd85bf7c5bfef221d924357249c6/libafl/src/observers/map/mod.rs#L426

addisoncrump commented 3 months ago

Yeah, exactly so. "You cannot set the initial field"