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

'%' can make IDA crash #17

Open
cnitlrt opened this issue Apr 1, 2023 · 1 comment
Open

'%' can make IDA crash #17

cnitlrt opened this issue Apr 1, 2023 · 1 comment

Comments

@cnitlrt
Copy link

cnitlrt commented Apr 1, 2023

env

python 3.9.9
IDA: 7.6

IDA Pro crashes when I type the '%' character in the Assemble window
image

@rohitab
Copy link

rohitab commented Dec 13, 2023

This also happens when the line starts with a \ character. From what I see, it's stuck in an infinite loop inside keystone.dll. You can fix the issue by patching plugins\patching\keystone\keystone.dll with the following change, using any Hex Editor.

File Offset Original Bytes Patched Bytes
3604C 0F 84 83 E9 84 00

Verify the MD5 hash of keystone.dll before and after the patch, to ensure that the patch is applied correctly.

MD5 Before Patch MD5 After Patch
f8960c53f18607ceeaeb167bd6fc29f7 d89230f4bda17a63b51591c2a6d06af1

It's not the ideal fix, but it does resolve the issue.

NOTE: This patch is only for v0.1.2 for Windows.

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

2 participants