summaryrefslogtreecommitdiffstats
path: root/results/classifier/zero-shot/105/device/837
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-07-03 19:39:53 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-07-03 19:39:53 +0200
commitdee4dcba78baf712cab403d47d9db319ab7f95d6 (patch)
tree418478faf06786701a56268672f73d6b0b4eb239 /results/classifier/zero-shot/105/device/837
parent4d9e26c0333abd39bdbd039dcdb30ed429c475ba (diff)
downloademulator-bug-study-dee4dcba78baf712cab403d47d9db319ab7f95d6.tar.gz
emulator-bug-study-dee4dcba78baf712cab403d47d9db319ab7f95d6.zip
restructure results
Diffstat (limited to 'results/classifier/zero-shot/105/device/837')
-rw-r--r--results/classifier/zero-shot/105/device/83743
1 files changed, 43 insertions, 0 deletions
diff --git a/results/classifier/zero-shot/105/device/837 b/results/classifier/zero-shot/105/device/837
new file mode 100644
index 00000000..9899064b
--- /dev/null
+++ b/results/classifier/zero-shot/105/device/837
@@ -0,0 +1,43 @@
+instruction: 0.988
+device: 0.946
+graphic: 0.919
+semantic: 0.776
+mistranslation: 0.720
+network: 0.707
+boot: 0.693
+vnc: 0.638
+socket: 0.595
+assembly: 0.554
+other: 0.481
+KVM: 0.074
+
+x86 user: icebp/int1 raises wrong signal
+Description of problem:
+This is a relatively minor inaccuracy. When `icebp` (`F1`) is executed, it raises `SIGILL` in QEMU, where the behavior on baremetal Linux (on an old Intel Core i5-430m) is to raise `SIGTRAP`.
+
+Specifically, on the architectural level, `icebp` raises `#DB` without affecting `dr6`.
+
+This also happens on an AArch64 host.
+```
+$ ./icebp
+Trace/breakpoint trap
+$ qemu-x86_64 ./icebp
+qemu: uncaught target signal 4 (Illegal instruction) - core dumped
+Illegal instruction
+```
+Steps to reproduce:
+1. Compile this file using `gcc -nostdlib -static icebp.S -o icebp`, optionally with `-m32` to test i386
+```
+ .globl _start
+_start:
+ .byte 0xF1 // gas doesn't assemble this instruction opcode but it disassembles it
+#ifdef __x86_64__
+ mov $60, %eax
+ syscall
+#else
+ mov $1, %eax
+ int $0x80
+#endif
+```
+2. Run on baremetal. Notice how it raises `SIGTRAP` according to the shell job control message
+3. Run on qemu-user. Notice how it raises `SIGILL`.