about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorReimersS <sebastian.reimers@tum.de>2025-11-25 16:14:16 +0000
committerReimersS <sebastian.reimers@tum.de>2025-11-25 16:14:16 +0000
commit00750969f99ad6b3106bb42d022b3c5d1062365e (patch)
tree3c06a8ed764e22f2aac465702b9322aebc49a5fd /src
parentdae5b391c2042ca70359cf9c93e62b1d4c903e71 (diff)
downloadfocaccia-sr/sql-syscalls.tar.gz
focaccia-sr/sql-syscalls.zip
Add read syscall sr/sql-syscalls
Diffstat (limited to 'src')
-rw-r--r--src/focaccia/qemu/x86.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/focaccia/qemu/x86.py b/src/focaccia/qemu/x86.py
index 347bbc4..298d1b1 100644
--- a/src/focaccia/qemu/x86.py
+++ b/src/focaccia/qemu/x86.py
@@ -2,6 +2,7 @@ from focaccia.qemu.syscall import SyscallInfo
 
 # Incomplete, only the most common ones
 emulated_system_calls = {
+    0:   SyscallInfo('read', patchup_address_registers=['rsi']),
     34:  SyscallInfo('pause', []),
     39:  SyscallInfo('getpid', []),
     102: SyscallInfo('getuid', []),