From 00750969f99ad6b3106bb42d022b3c5d1062365e Mon Sep 17 00:00:00 2001 From: ReimersS Date: Tue, 25 Nov 2025 16:14:16 +0000 Subject: Add read syscall --- src/focaccia/qemu/x86.py | 1 + 1 file changed, 1 insertion(+) 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', []), -- cgit 1.4.1