summary refs log tree commit diff stats
path: root/results/classifier/semantic-bugs/1371
blob: 16aca0c8f2774348429a89a9d2bf8b2c0f24c395 (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
semantic: 0.995
instruction: 0.970
assembly: 0.852
graphic: 0.824
device: 0.665
mistranslation: 0.491
boot: 0.468
vnc: 0.465
socket: 0.452
network: 0.307
other: 0.217
KVM: 0.064

x86 BLSMSK semantic bug
Description of problem:
The result of instruction BLSMSK is different with from the CPU. The value of CF is different.
Steps to reproduce:
1. Compile this code
```
void main() {
    asm("mov rax, 0x65b2e276ad27c67");
    asm("mov rbx, 0x62f34955226b2b5d");
    asm("blsmsk eax, ebx");
}
```
2. Execute and compare the result with the CPU.
    - CPU
        - CF = 0
    - QEMU
        - CF = 1
Additional information:
This bug is discovered by research conducted by KAIST SoftSec.