summary refs log tree commit diff stats
path: root/results/classifier/zero-shot/002/semantic/gitlab_semantic_blsmsk
diff options
context:
space:
mode:
Diffstat (limited to 'results/classifier/zero-shot/002/semantic/gitlab_semantic_blsmsk')
-rw-r--r--results/classifier/zero-shot/002/semantic/gitlab_semantic_blsmsk33
1 files changed, 33 insertions, 0 deletions
diff --git a/results/classifier/zero-shot/002/semantic/gitlab_semantic_blsmsk b/results/classifier/zero-shot/002/semantic/gitlab_semantic_blsmsk
new file mode 100644
index 00000000..245a1326
--- /dev/null
+++ b/results/classifier/zero-shot/002/semantic/gitlab_semantic_blsmsk
@@ -0,0 +1,33 @@
+semantic: 0.987
+instruction: 0.962
+mistranslation: 0.603
+boot: 0.585
+other: 0.269
+
+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
+
+Compile this code
+
+void main() {
+    asm("mov rax, 0x65b2e276ad27c67");
+    asm("mov rbx, 0x62f34955226b2b5d");
+    asm("blsmsk eax, ebx");
+}
+
+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.