summary refs log tree commit diff stats
path: root/results/classifier/012/x86/gitlab_semantic_blsi
blob: 9ccd61616d5115268286b34ab68400e81d9b84d3 (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
x86: 0.997
semantic: 0.983
architecture: 0.887
graphic: 0.873
assembly: 0.852
device: 0.790
socket: 0.764
vnc: 0.756
arm: 0.685
boot: 0.678
network: 0.672
performance: 0.656
risc-v: 0.651
files: 0.633
permissions: 0.619
other: 0.609
mistranslation: 0.606
TCG: 0.538
debug: 0.525
PID: 0.488
register: 0.488
kernel virtual machine: 0.388

x86 BLSI and BLSR semantic bug
Description of problem
The result of instruction BLSI and BLSR is different from the CPU. The value of CF is different.

Steps to reproduce

Compile this code


void main() {
    asm("blsi rax, rbx");
}



Execute and compare the result with the CPU. The value of CF is exactly the opposite. This problem happens with BLSR, too.


Additional information
This bug is discovered by research conducted by KAIST SoftSec.