I have a function of the format:

sub_ABCDEF(&global, "stringName", unimportantValue)

push    offset string
mov     ecx, offset global
call    sub_410010

That is called in several places, each varying the &global and string location.

I am wondering if it's possible in IDAPython to bulk rename all the &global's to the string value.

I used XrefsTo(410010, 0) to obtain a list of places the function is called from, but I am unsure how to get the parameters it was called with.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.