Attempting to set some bits in the Unicorn EFLAGS doesn't work.

When attempting to set all flags except trap flag, the EFLAGS value
should be 0x00244ED7, I've tested this on Windows and here
https://ideone.com/WQAvk1 which is presumably Linux.

Unicorn however has the value 0x00000ED7, bits 11-21 are not set. Bit 21
is the ID bit indicating whether or not CPUID is available.
This commit is contained in:
farmdve
2015-11-10 00:49:01 +02:00
parent b3a990f1ae
commit 726f45b33d
2 changed files with 107 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ TESTS += mem_exec
TESTS += mips_kseg0_1
TESTS += eflags_nosync
TESTS += 00opcode_uc_crash
TESTS += eflags_noset
all: $(TESTS)