-
Notifications
You must be signed in to change notification settings - Fork 464
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
MSDN data doesn't have constant values #67
Comments
The script matches up each constant name and IDA Pro's standard enum. So the constant value is not required to rename constants. However, there's other places where the current mechanism can go wrong. Does it really rename no constants (hint: look for debugging output containing the string |
I cannot see any renaming constant in my IDA Output Window. This is my output:
Enums can be loaded normally. Backup is normal too, and |
It is possible that the constant renaming does not work on the sample you are looking at. Can you try other binaries? |
Every binary I've tried is the same problem. |
I've confirmed the issue in a few tests. Investigating this further will take some time though. If you'd like to help I can provide some pointers. |
During further testing the plugin renamed some constants successfully, e.g. for |
I cannot use your script to generate the xml file (MSDN data) successfully because "Windows Software
Development Kit (SDK) for Windows 7 and .NET Framework 3.5 Service Pack 1" was unavailable in Microsoft website years ago. So I straightly used the xml file you provided in
https://github.com/mr-tz/flare-ida/blob/master/MSDN_data/msdn_data.zip
But no constant in this xml file has value. So when I execute the script in IDA, no API constant will rename to macro.
This is a part of the xml file:
As you can see, all constants only have
<name>
and<description>
. I can't see<value>
in all<constant>
.The text was updated successfully, but these errors were encountered: