Navigation Menu

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

When using DbgAssembleAt, the remaining bytes will not be filled with NOP #2684

Open
DNLINYJ opened this issue Jul 11, 2021 · 1 comment
Open
Labels
question The issue is a question.

Comments

@DNLINYJ
Copy link

DNLINYJ commented Jul 11, 2021

Version : snapshot_2021-04-17_18-28
System : Windows 10 64-bit 2004
I am writing a plugin for X64dbg, but when I use DbgAssembleAt to replace assembly instructions, it will not fill the remaining bytes with NOP. Is there any solution for this? (If reading is a little difficult, I'm sorry, English is not my native language)

@mrexodia
Copy link
Member

You can first write fill with nops using DbgMemWrite and then call DbgAssembleAt.

@mrexodia mrexodia added the question The issue is a question. label Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question The issue is a question.
Projects
None yet
Development

No branches or pull requests

2 participants