Skip to content

Pcode nop fix#6

Open
addisoncrump wants to merge 2 commits intoRolfRolles:masterfrom
addisoncrump:pcode-nop-fix
Open

Pcode nop fix#6
addisoncrump wants to merge 2 commits intoRolfRolles:masterfrom
addisoncrump:pcode-nop-fix

Conversation

@addisoncrump
Copy link
Copy Markdown

@addisoncrump addisoncrump commented Jul 13, 2020

Fixes behaviour for getFallthruLoc to handle architectures which have nop instructions.

See Pcode from a simple aarch64 binary:
figurë

Before changes, this would cause the cfg builder to assume that disassembly failed (and ultimately cause a NPE without my other PR).

Fixes for instructions with 0 length, alternatively you could choose to use #7. AFAIK, you only need one of these pull requests to fix this problem. Just close the other, up to you.

@addisoncrump addisoncrump mentioned this pull request Jul 13, 2020
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

Successfully merging this pull request may close these issues.

1 participant