Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

endbr32/64 not decoded #188

Open
kubo opened this issue Jun 24, 2023 · 0 comments
Open

endbr32/64 not decoded #188

kubo opened this issue Jun 24, 2023 · 0 comments

Comments

@kubo
Copy link

kubo commented Jun 24, 2023

Any function compiled by the default C compiler (gcc-11) on Ubuntu 22.04 starts with endbr32/64. However distorm hasn't supported it yet(#131 (comment)). Other libraries support it.

distorm (master branch):

    000055d29b704c18 (01) f3                       DB 0xf3
    000055d29b704c19 (01) 0f                       DB 0xf
    000055d29b704c1a (01) 1e                       DB 0x1e
    000055d29b704c1b (01) fa                       CLI
    000055d29b704c1c (01) 55                       PUSH RBP

capstone 5.0-rc4:

    000056260e794c18 (04) F3 0F 1E FA              endbr64
    000056260e794c1c (01) 55                       push rbp

zydis 4.0.0:

    000055dd66b8bc18 (04) F3 0F 1E FA              endbr64
    000055dd66b8bc1c (01) 55                       push rbp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant