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

Support BND prefix on x86 #292

Open
radare opened this issue Mar 24, 2017 · 3 comments
Open

Support BND prefix on x86 #292

radare opened this issue Mar 24, 2017 · 3 comments

Comments

@radare
Copy link
Contributor

radare commented Mar 24, 2017

$ rasm2 -a x86.ks -b 64 "bnd jmp 0x22"
ks_asm: (bnd jmp 0x22) Invalid operand (KS_ERR_ASM_INVALIDOPERAND)
ks_asm: (bnd jmp 0x22) Invalid operand (KS_ERR_ASM_INVALIDOPERAND)
ks_asm: (bnd jmp 0x22) Invalid operand (KS_ERR_ASM_INVALIDOPERAND)
Cannot assemble 'bnd jmp 0x22' at line 3
invalid

$ rasm2 -a x86.ks -b 64 "jmp 0x22"
eb20

$ rasm2 -a x86 -b 64 -d f2eb1f
bnd jmp 0x22
@koemeet
Copy link

koemeet commented May 7, 2017

@radare Did you find a current workaround for this? I tried using KS_OPT_SYM_RESOLVER but it didnt get called when processing BND prefixed instructions.

@radare
Copy link
Contributor Author

radare commented May 8, 2017

It's supported by the x86 assembler in r2

@gurachan
Copy link

gurachan commented Jun 9, 2021

me too have this error just now xD #500

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

3 participants