diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-07-03 19:39:53 +0200 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-07-03 19:39:53 +0200 |
| commit | dee4dcba78baf712cab403d47d9db319ab7f95d6 (patch) | |
| tree | 418478faf06786701a56268672f73d6b0b4eb239 /results/classifier/105/instruction/1850 | |
| parent | 4d9e26c0333abd39bdbd039dcdb30ed429c475ba (diff) | |
| download | emulator-bug-study-dee4dcba78baf712cab403d47d9db319ab7f95d6.tar.gz emulator-bug-study-dee4dcba78baf712cab403d47d9db319ab7f95d6.zip | |
restructure results
Diffstat (limited to 'results/classifier/105/instruction/1850')
| -rw-r--r-- | results/classifier/105/instruction/1850 | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/results/classifier/105/instruction/1850 b/results/classifier/105/instruction/1850 deleted file mode 100644 index d405cc8a..00000000 --- a/results/classifier/105/instruction/1850 +++ /dev/null @@ -1,42 +0,0 @@ -instruction: 0.965 -semantic: 0.719 -device: 0.700 -graphic: 0.669 -assembly: 0.656 -network: 0.430 -vnc: 0.405 -socket: 0.378 -mistranslation: 0.282 -boot: 0.248 -other: 0.139 -KVM: 0.129 - -AARCH64 Illegal Instruction (CurrentEL) -Description of problem: -While emulating Aarch64 in QEMU, whenever the instruction `CurrentEL` is executed, -QEMU crashes with the following message. - -`qemu: uncaught target signal 4 (Illegal instruction) - core dumped -Illegal instruction (core dumped)` - -I've tried both QEMU user space translation (qemu-aarch64-static) and QEMU emulation (qemu-system-aarch64), -and both fail with the above message. - -C Code to reproduce bug, courtesy of https://github.com/cirosantilli/linux-kernel-module-cheat/blob/35684b1b7e0a04a68987056cb15abd97e3d2f0cc/baremetal/arch/aarch64/el.c -``` -#include <stdio.h> -#include <inttypes.h> - -int main(void) { - register uint64_t x0 __asm__ ("x0"); - __asm__ ("mrs x0, CurrentEL;" : : : "%x0"); - printf("%" PRIu64 "\n", x0 >> 2); - return 0; -} -``` -Steps to reproduce: -1. Copy C code above into file. -2. Compile code `gcc ./main.c --static` -3. Execute elf bin `./a.out` -Additional information: - |
