summary refs log tree commit diff stats
path: root/results/classifier/zero-shot/108/other/1812861
blob: e8b56e16f0dfd7eeb34da139fbb47bb2ec0998f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
device: 0.769
semantic: 0.692
socket: 0.564
graphic: 0.532
debug: 0.499
vnc: 0.455
boot: 0.450
network: 0.424
PID: 0.399
files: 0.304
other: 0.156
performance: 0.152
KVM: 0.132
permissions: 0.117

QEMU in user-mode emulation mode crashes when the user program jumps to an invalid address

Running this code:

void (*func)() = 0x12345678;

int main()
{
    func();
    return 0;
}

Produces the following output:

qemu-arm-static: /build/qemu-DqynNa/qemu-2.8+dfsg/translate-all.c:175: tb_lock: Assertion `!have_tb_lock' failed.
qemu-arm-static: /build/qemu-DqynNa/qemu-2.8+dfsg/translate-all.c:175: tb_lock: Assertion `!have_tb_lock' failed.
Segmentation fault

The expected result is as follows:

qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault



I'm not sure exactly when we fixed this (the fix is probably in the 4.1 release) but as of current head-of-git this correctly generates the SIGSEGV.