keystone icon indicating copy to clipboard operation
keystone copied to clipboard

keystone failing at endbr64 instruction

Open vm2p opened this issue 3 years ago • 0 comments

Hello,

I'm currently using keystone as part of a project where binary executables are being analyzed. However, keystone fails when it encounters an "endbr64" opcode, failing with

File "/usr/local/lib/python3.10/dist-packages/keystone_engine-0.9.2-py3.10.egg/keystone/keystone.py", line 213, in asm
    raise KsError(errno, stat_count.value)
keystone.keystone.KsError: Invalid mnemonic (KS_ERR_ASM_MNEMONICFAIL)

Is it a feature not supported by keystone yet? Is there any way to avoid this error?

Thank you very much for your help.

vm2p avatar Oct 05 '22 19:10 vm2p