Manticore prints linux ret code as uint instead of int (#578)

* Fixing raise issue #435

* syncing git

* Fix Bug #570

* syncing

* removed all binaries

* missed one file
This commit is contained in:
Dushyanth Chowdary 2017-11-20 16:04:34 -05:00 committed by Mark Mossberg
parent 1dbf40ea8e
commit 652c99b471

View File

@ -1753,9 +1753,9 @@ class Linux(Platform):
self.sched()
self.running.remove(procid)
#self.procs[procid] = None
logger.debug("EXIT_GROUP PROC_%02d %s", procid, error_code)
logger.debug("EXIT_GROUP PROC_%02d %s", procid, ctypes.c_int32(error_code).value)
if len(self.running) == 0 :
raise TerminateState("Program finished with exit status: %r" % error_code, testcase=True)
raise TerminateState("Program finished with exit status: %r" % ctypes.c_int32(error_code).value, testcase=True)
return error_code
def sys_ptrace(self, request, pid, addr, data):