intel / tsffs

A snapshotting, coverage-guided fuzzer for software (UEFI, Kernel, firmware, BIOS) built on SIMICS
https://intel.github.io/tsffs/
Apache License 2.0
268 stars 17 forks source link

Solution deduplication #60

Open novafacing opened 6 months ago

novafacing commented 6 months ago

Provide options to enable deduplication of solutions:

cglosner commented 4 months ago

While your adding the deduplication, could you possible add support for printing the stack trace when a solution is found. It shouldn't too difficult because it can be done manually by adding a debug context to the config file:

debug-context object = "qsp.mb.cpu0.core[0][0]"

and then if you run a repro you just need to type in stack-trace to get the file and line information of the stack at crash (as long as its a debug build).

novafacing commented 4 months ago

Definitely, this is my plan -- Simics was recently updated to allow stack walking without a debug context, so it is actually even easier than this :)