diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-06-16 16:59:00 +0000 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-06-16 16:59:33 +0000 |
| commit | 9aba81d8eb048db908c94a3c40c25a5fde0caee6 (patch) | |
| tree | b765e7fb5e9a3c2143c68b0414e0055adb70e785 /results/classifier/118/none/1488 | |
| parent | b89a938452613061c0f1f23e710281cf5c83cb29 (diff) | |
| download | qemu-analysis-9aba81d8eb048db908c94a3c40c25a5fde0caee6.tar.gz qemu-analysis-9aba81d8eb048db908c94a3c40c25a5fde0caee6.zip | |
add 18th iteration of classifier
Diffstat (limited to 'results/classifier/118/none/1488')
| -rw-r--r-- | results/classifier/118/none/1488 | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/results/classifier/118/none/1488 b/results/classifier/118/none/1488 new file mode 100644 index 000000000..4b3f25d68 --- /dev/null +++ b/results/classifier/118/none/1488 @@ -0,0 +1,65 @@ +graphic: 0.783 +device: 0.724 +ppc: 0.677 +PID: 0.656 +semantic: 0.654 +debug: 0.615 +arm: 0.595 +performance: 0.592 +socket: 0.564 +architecture: 0.560 +assembly: 0.510 +mistranslation: 0.499 +kernel: 0.497 +register: 0.416 +permissions: 0.402 +hypervisor: 0.367 +vnc: 0.330 +user-level: 0.330 +i386: 0.309 +x86: 0.300 +network: 0.287 +files: 0.259 +risc-v: 0.223 +VMM: 0.201 +TCG: 0.187 +peripherals: 0.179 +virtual: 0.163 +boot: 0.152 +KVM: 0.068 + +Memory not accessible from GDB when using mps3-an547 +Description of problem: +Memory (including variables) is not accessible when connecting to the emulated machine via GDB +Steps to reproduce: +1. Create minimal program `main.c`: + ```c + int main(void) { + int myvar = 42; + for(;;) + } + ``` +2. Compile + ```bash + arm-none-eabi-gcc -c -o build/main.o -c -mcpu=cortex-m55 -mfloat-abi=hard -mthumb -funsigned-char -mlittle-endian -O0 -g -std=c11 main.c + ``` + (ARM startup files and include directories omitted for brevity) +3. Link + ```bash + arm-none-eabi-g++ -o build/test.elf build/main.o -mcpu=cortex-m55 -mfloat-abi=hard -mthumb -funsigned-char -mlittle-endian --entry=Reset_Handler -static -T./platform.ld -O0 -g + ``` + (ARM startup files omitted for brevity) +4. Run binary in QEMU: + ```bash + qemu-system-arm --machine mps3-an547 -serial mon:stdio -kernel test.elf -gdb tcp::1234 -S + ``` +5. Attach using GDB `arm-none-eabi-gdb build/test.elf` and set break point to infinite loop + ```gdb + target remote :1234 + break main.c:18 + continue + print myvar + ``` + +Expected Output: 42 +Actual Output: `Cannot access memory at address 0x11fffe4` |