Concretize stdout in state summary (#478)
This commit is contained in:
parent
0cd2560138
commit
9b8ef3cd76
@ -538,12 +538,11 @@ class ManticoreOutput(object):
|
||||
with self._named_stream('stdin') as _in:
|
||||
with self._named_stream('net') as _net:
|
||||
for name, fd, data in state.platform.syscall_trace:
|
||||
s = ''.join(str(c) for c in data)
|
||||
if name in ('_transmit', '_write'):
|
||||
if fd == 1:
|
||||
_out.write(s)
|
||||
solve_to_fd(data, _out)
|
||||
elif fd == 2:
|
||||
_err.write(s)
|
||||
solve_to_fd(data, _err)
|
||||
if name in ('_recv'):
|
||||
solve_to_fd(data, _net)
|
||||
if name in ('_receive', '_read') and fd == 0:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user