blob: 1a7ba64558c2edf86209b623b7e91c7212d4ae91 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
instruction: 0.864
runtime: 0.090
syscall: 0.046
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:
1. Compile this code
```
void main() {
asm("blsi rax, rbx");
}
```
2. 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.
|