diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-05-30 15:56:00 +0200 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-05-30 15:56:00 +0200 |
| commit | 712310482c3dbef91c3eb6458d1bff82a275fa52 (patch) | |
| tree | a1bcdb8df87d90ef121a093d4ea416838f84f856 /classification/test_input/mail_semantic_2 | |
| parent | fb84fa98ea1effc76cea3b3426546b4a3851af0b (diff) | |
| download | emulator-bug-study-712310482c3dbef91c3eb6458d1bff82a275fa52.tar.gz emulator-bug-study-712310482c3dbef91c3eb6458d1bff82a275fa52.zip | |
add test script for the classifier
Diffstat (limited to 'classification/test_input/mail_semantic_2')
| -rw-r--r-- | classification/test_input/mail_semantic_2 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/classification/test_input/mail_semantic_2 b/classification/test_input/mail_semantic_2 new file mode 100644 index 00000000..4c78171d --- /dev/null +++ b/classification/test_input/mail_semantic_2 @@ -0,0 +1,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.""" |