Improvements. Now hooking fewer functions, and instead making on big array symbolic. This will make it easier to run the inputs concretely (by eventually filling in the array with the concrete bytes), and will also make possible fuzzer integration (where the fuzzer mutates the bytes of the array) possible.

This commit is contained in:
Peter Goodman
2017-10-28 00:09:33 -04:00
parent 6249ec6208
commit 76585f095b
6 changed files with 246 additions and 155 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ McTest_EntryPoint(YIsAlwaysPositive) {
McTest_Assert(y >= 0);
}
McTest_EntryPoint(YIsAlwaysPositive_WillFail) {
McTest_EntryPoint(YIsAlwaysPositive_CanFail) {
int x = McTest_IntInRange(-10, 10);
int y = x * x * x;
McTest_Assert(y >= 0); /* This will fail */