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:
parent
1dbf40ea8e
commit
652c99b471
@ -1753,9 +1753,9 @@ class Linux(Platform):
|
|||||||
self.sched()
|
self.sched()
|
||||||
self.running.remove(procid)
|
self.running.remove(procid)
|
||||||
#self.procs[procid] = None
|
#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 :
|
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
|
return error_code
|
||||||
|
|
||||||
def sys_ptrace(self, request, pid, addr, data):
|
def sys_ptrace(self, request, pid, addr, data):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user