summary refs log tree commit diff stats
path: root/classification/test_input/gitlab_semantic_blsi
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-05-30 15:56:20 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-05-30 15:56:20 +0200
commit904141bfb8d5385b75eb3b7afec1dcda89af65a7 (patch)
treec8b5e69b944c9f8b96dbb5afad6214d0406537b2 /classification/test_input/gitlab_semantic_blsi
parent712310482c3dbef91c3eb6458d1bff82a275fa52 (diff)
downloademulator-bug-study-904141bfb8d5385b75eb3b7afec1dcda89af65a7.tar.gz
emulator-bug-study-904141bfb8d5385b75eb3b7afec1dcda89af65a7.zip
add tests and include results
Diffstat (limited to 'classification/test_input/gitlab_semantic_blsi')
-rw-r--r--classification/test_input/gitlab_semantic_blsi20
1 files changed, 20 insertions, 0 deletions
diff --git a/classification/test_input/gitlab_semantic_blsi b/classification/test_input/gitlab_semantic_blsi
new file mode 100644
index 00000000..92ff92b0
--- /dev/null
+++ b/classification/test_input/gitlab_semantic_blsi
@@ -0,0 +1,20 @@
+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.