status-im / nim-drchaos

A powerful and easy-to-use fuzzing framework in Nim for C/C++/Obj-C targets
Other
68 stars 3 forks source link

postProcess could run right after mutate only for the mutated field. #10

Closed planetis-m closed 2 years ago

planetis-m commented 2 years ago

~Slight refactoring is needed. Would need a compile time switch to disable post-processing.~ Actually no, post-processing needs to run for the whole input. This way data dependencies can be inserted.

planetis-m commented 2 years ago

Problem: Not starting from the bottom the depth must be kept by runMutator and runMutator is called by newInput which is called by mutate. Meh.