diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-07-08 13:28:15 +0200 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-07-08 13:28:28 +0200 |
| commit | 5aa276efcbd67f4300ca1a7f809c6e00aadb03da (patch) | |
| tree | 9b8f0e074014cda8d42f5a97a95bc25082d8b764 /results/classifier/zero-shot-user-mode/output/instruction/2175 | |
| parent | 1a3c4faf4e0a25ed0b86e8739d5319a634cb9112 (diff) | |
| download | qemu-analysis-5aa276efcbd67f4300ca1a7f809c6e00aadb03da.tar.gz qemu-analysis-5aa276efcbd67f4300ca1a7f809c6e00aadb03da.zip | |
restructure results
Diffstat (limited to 'results/classifier/zero-shot-user-mode/output/instruction/2175')
| -rw-r--r-- | results/classifier/zero-shot-user-mode/output/instruction/2175 | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/results/classifier/zero-shot-user-mode/output/instruction/2175 b/results/classifier/zero-shot-user-mode/output/instruction/2175 deleted file mode 100644 index 53340f1bb..000000000 --- a/results/classifier/zero-shot-user-mode/output/instruction/2175 +++ /dev/null @@ -1,44 +0,0 @@ -instruction: 0.538 -syscall: 0.232 -runtime: 0.230 - - - -Intel BLSI CF computation bug -Description of problem: -CF flag computation of BLSI instruction is wrong. It seems #1370 was not completely fixed. -Steps to reproduce: -1. Compile `example.c` using this command: `gcc -o example.bin example.c`. My gcc version is 12.3.0, but other versions may work. -``` -int main() { - __asm__ ( - "movq $0x1, %r8\n" - "mov $0xedbf530a, %r9\n" - "push $0x1\n" - "popf\n" - "blsi %r9d, %r8d\n" - "pushf\n" - "pop %rax\n" - "pop %rbp\n" - "ret\n" - ); - - return 0; -} -``` -2. Run `./example.bin`. Then check the return code using `echo $?`. It should be 3. -``` -$ ./example.bin -$ echo $? -3 -``` -3. Run `./qemu-x86_64 ./example.bin`. Then check the return code using `echo $?`. It should be 2. -``` -$ ./qemu-x86_64 ./example.bin -$ echo $? -2 -``` - -The return code of `./example.bin` contains the value of the `RFLAGS` register after executing the `BLSI` instruction. -Additional information: - |