diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-07-08 08:55:39 +0000 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-07-08 08:55:39 +0000 |
| commit | 1a3c4faf4e0a25ed0b86e8739d5319a634cb9112 (patch) | |
| tree | 90ceb50013ad28bab46e52731ec4ce1e70c32a57 /results/classifier/no-thinking-deepseek-r1:70b/output/instruction/837 | |
| parent | c50b0c4da17b6e83640e4ed2380fffb5f507c846 (diff) | |
| download | qemu-analysis-1a3c4faf4e0a25ed0b86e8739d5319a634cb9112.tar.gz qemu-analysis-1a3c4faf4e0a25ed0b86e8739d5319a634cb9112.zip | |
add deepseek 70b result
Diffstat (limited to 'results/classifier/no-thinking-deepseek-r1:70b/output/instruction/837')
| -rw-r--r-- | results/classifier/no-thinking-deepseek-r1:70b/output/instruction/837 | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/results/classifier/no-thinking-deepseek-r1:70b/output/instruction/837 b/results/classifier/no-thinking-deepseek-r1:70b/output/instruction/837 new file mode 100644 index 000000000..3f61a028a --- /dev/null +++ b/results/classifier/no-thinking-deepseek-r1:70b/output/instruction/837 @@ -0,0 +1,33 @@ + + + +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`. |