Adds some error checking around finding important symbols and initializing Manticore/Angr. Adds the ability to save concretized bytes to an output directory. For the time being, I'm going with the approach of the user specifying a output dir, then within that I create directories for each file basename in the tests, and subdirectories for each test name, and in there I put binary test files.

This commit is contained in:
Peter Goodman
2017-11-02 00:54:18 -04:00
parent bc208dbd4d
commit c4f74e2389
4 changed files with 149 additions and 48 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ void DeepState_SymbolizeData(void *begin, void *end) {
uintptr_t end_addr = (uintptr_t) end;
if (begin_addr > end_addr) {
abort();
DeepState_Abandon("Invalid data bounds for DeepState_SymbolizeData");
} else if (begin_addr == end_addr) {
return;
} else {