Enable callback-oriented harness API #59
Labels
enhancement
A new feature or enhancement to an existing feature.
low-priority
Low priority tasks that still need to be completed for an upcoming release.
major
A major change, bug, or feature requiring significant effort.
We should enable a pair of APIs which looks like:
Where
testcase_handler
is aCallable[[bytes], None]
which is called with the testcase input.testcase_handler
is then responsible for dispatching the testcase wherever is appropriate. In particular, it should not attempt to start/stop the fuzzing loop, it should only handle the testcase. This has the effect of separating the testcase handling logic from the fuzz loop logic, but requires a "blind start" API to be enabled.This API would take a snapshot through the TSFFS snapshot handling sequence, without handling testcases or buffers at all. When a new testcase is generated, it will be passed to the testcase handler.
The text was updated successfully, but these errors were encountered: