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

Small fix to support ida versions older than 7.6 #23

Merged
merged 1 commit into from
May 31, 2023

Conversation

jpenalbae
Copy link
Contributor

IDA versions older than 7.6 do not have the ida_hexrays.rename_lvar() available so a workaround is applied in that case.

It might look stupid to "reindex" the lvars on every loop, but the pointers you get are updated after every rename, so ida crashes if you try to use the old pointers.

This should fix #14 and maybe also #21.

IDA versions older than 7.6 do not have the `ida_hexrays.rename_lvar()`
function available, so a workaround is applied in that case.
@JusticeRage
Copy link
Owner

Thanks a lot for submitting this fix! I don't think I would ever have found this issue!

@JusticeRage JusticeRage merged commit a4558ac into JusticeRage:main May 31, 2023
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.

the rename button does not work
2 participants