JonathanSalwan / Triton

Triton is a dynamic binary analysis library. Build your own program analysis tools, automate your reverse engineering, perform software verification or just emulate code.
https://triton-library.github.io
Apache License 2.0
3.4k stars 524 forks source link

Unit Test: UnicornX86Semantics (Failed) #1264

Closed nbruns1 closed 11 months ago

nbruns1 commented 11 months ago

Hello,

the UnicornX86Semantics Unit Tests fails with the following message:

[KO] vpxor ymm0, ymm0, ymm1 Invalid instruction (UC_ERR_INSN_INVALID)

mrexodia commented 11 months ago

From what I remember the ymm instructions are unsupported by unicorn, so this error makes sense. In the past there was a decoding error and it was (incorrectly) treated as an xmm instruction but that has since been fixed.

cnheitman commented 11 months ago

Hi @nbruns1 . Do you happen to have Unicorn v2.0.1-post1 installed? If so, try downgrade to version 2.0.0 (python -m pip install unicorn==2.0.0). That should fix the issue.

nbruns1 commented 11 months ago

Thanks, @mrexodia @cnheitman. Installing unicorn 2.0.0 fixed the issue.