summary refs log tree commit diff stats
path: root/classification/test_input/mail_semantic_2
blob: 4c78171d2f9637d12b7d7847473d337b6ff4a6e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
x86 BLSMSK semantic bug
description = """The result of instruction BLSMSK is different with from the CPU. The value of CF is different."""
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 = """This bug is discovered by research conducted by KAIST SoftSec."""