about summary refs log tree commit diff stats
path: root/src/focaccia/qemu/x86.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/focaccia/qemu/x86.py')
-rw-r--r--src/focaccia/qemu/x86.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/focaccia/qemu/x86.py b/src/focaccia/qemu/x86.py
new file mode 100644
index 0000000..347bbc4
--- /dev/null
+++ b/src/focaccia/qemu/x86.py
@@ -0,0 +1,10 @@
+from focaccia.qemu.syscall import SyscallInfo
+
+# Incomplete, only the most common ones
+emulated_system_calls = {
+    34:  SyscallInfo('pause', []),
+    39:  SyscallInfo('getpid', []),
+    102: SyscallInfo('getuid', []),
+    318: SyscallInfo('getrandom', patchup_address_registers=['rdi'])
+}
+