about summary refs log tree commit diff stats
path: root/reproducers/issue-2175.c
diff options
context:
space:
mode:
authorTheofilos Augoustis <theofilos.augoustis@gmail.com>2025-06-17 17:23:56 +0200
committerTheofilos Augoustis <theofilos.augoustis@gmail.com>2025-06-20 11:41:37 +0200
commit4b7ec572c3728b01a52c249dc34f7bb950540590 (patch)
tree07bec969e086ece7539fffeed82595d9970d8b4a /reproducers/issue-2175.c
parent04df8c644b29af145579552122ed40768bbd01d8 (diff)
downloadfocaccia-ta/reproducers.tar.gz
focaccia-ta/reproducers.zip
Add basic reproducers for QEMU bugs ta/reproducers
Diffstat (limited to 'reproducers/issue-2175.c')
-rw-r--r--reproducers/issue-2175.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/reproducers/issue-2175.c b/reproducers/issue-2175.c
new file mode 100644
index 0000000..abbb6f7
--- /dev/null
+++ b/reproducers/issue-2175.c
@@ -0,0 +1,16 @@
+int main() {
+  __asm__ (
+    "movq $0x1, %r8\n"
+    "mov $0xedbf530a, %r9\n"
+    "push $0x1\n"
+    "popf\n"
+    "blsi %r9d, %r8d\n"
+    "pushf\n"
+    "pop %rax\n"
+    "pop %rbp\n"
+    "ret\n"
+  );
+
+  return 0;
+}
+