Got Manticore (with some minor unpublished fixes) working for McTest, based on Yan's initial work. Most of the angr code directly ports over, which is convenient. Haven't yet implemented McTest_Log (which isn't working for angr, curiously).

This commit is contained in:
Peter Goodman
2017-10-29 20:35:50 -04:00
parent 0ec7047b0f
commit 4b786adc70
3 changed files with 170 additions and 73 deletions
-9
View File
@@ -205,15 +205,6 @@ const struct McTest_IndexEntry McTest_API[] = {
/* Set up McTest. */
void McTest_Setup(void) {
/* Manticore entrypoint. Manticore doesn't (yet?) support symbol lookups, so
* we instead interpose on this fake system call, and discover the API table
* via the first argument to the system call. */
#if defined(_MSC_VER)
# warning "TODO: Implement Windows interception support for Manticore."
#else
syscall(0x41414141, &McTest_API);
#endif
/* TODO(pag): Sort the test cases by file name and line number. */
}