From 904141bfb8d5385b75eb3b7afec1dcda89af65a7 Mon Sep 17 00:00:00 2001 From: Christian Krinitsin Date: Fri, 30 May 2025 15:56:20 +0200 Subject: add tests and include results --- classification/test_input/gitlab_semantic_blsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 classification/test_input/gitlab_semantic_blsi (limited to 'classification/test_input/gitlab_semantic_blsi') diff --git a/classification/test_input/gitlab_semantic_blsi b/classification/test_input/gitlab_semantic_blsi new file mode 100644 index 000000000..92ff92b0e --- /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. -- cgit 1.4.1