moralismercatus / crete

Open source concolic testing tool for binaries
1 stars 1 forks source link

Fault tolerance when Klee fails should still consume any TCs generated #152

Closed moralismercatus closed 8 years ago

moralismercatus commented 8 years ago

When Klee fails (e.g., exit_code != 0), svm-node should still consume any test cases generated by Klee before failure.

This is actually causing major problems currently, as it's causing early convergence.

A fix to this may be to throw a custom exception. In exception_caught(), check the exception type. If it's from symbolic execution, consume the test cases and continue as before.

moralismercatus commented 8 years ago

Resolved. We throw a special exception that allows for logging and continuation rather than transitioning to an error state.