diff options
| -rw-r--r-- | src/focaccia/qemu/x86.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/focaccia/qemu/x86.py b/src/focaccia/qemu/x86.py index 8bbbf56..bed347c 100644 --- a/src/focaccia/qemu/x86.py +++ b/src/focaccia/qemu/x86.py @@ -2,6 +2,10 @@ from focaccia.qemu.syscall import SyscallInfo # Incomplete, only the most common ones emulated_system_calls = { + 0: SyscallInfo('read', patchup_address_registers=['rsi']), + 1: SyscallInfo('write'), + 19: SyscallInfo('readv', patchup_address_registers=['rsi']), + 20: SyscallInfo('writev'), 34: SyscallInfo('pause', []), 39: SyscallInfo('getpid', []), 102: SyscallInfo('getuid', []), |