I am emulating a simple arm linux program, printing the executed basic block address during the emulation. Everything works fine until the emulated program calls close(1). Below is the error message.
OSError: [Errno 9] Bad file descriptor
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
OSError: [Errno 9] Bad file descriptor
It seems that closing stdout in the guest will affect host's too. Is that true?
I am emulating a simple arm linux program, printing the executed basic block address during the emulation. Everything works fine until the emulated program calls
close(1). Below is the error message.It seems that closing
stdoutin the guest will affect host's too. Is that true?