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

Add test for wai command #2714

Open
wargio opened this issue Jun 20, 2022 · 0 comments
Open

Add test for wai command #2714

wargio opened this issue Jun 20, 2022 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@wargio
Copy link
Member

wargio commented Jun 20, 2022

The command wai <instructions1> <instructions2> ... which should assemble instruction(s) and write bytes inside the current instruction boundaries is not tested within test/db/

This instruction also is not mapped on the book.

What the command does is tring to fit a new instruction within the boundaries of the old one.

for example in x86 changing a long instruction like lea which may use 8 bytes with a mov which uses 4, will be automatically handled like lea .... to mov ... ; nop ; nop ; nop ; nop

so the command usage is the same as wa with the exception that you do not have to care about the boundaries of the instruction that you are overwriting

@wargio wargio added good first issue Good for newcomers help wanted Extra attention is needed labels Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant