You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 1, 2026. It is now read-only.
If you run idb2pat.py on IDA version 7.5, you'll get this error:
error: Traceback (most recent call last):
File "<string>", line 478, in <module>
File "<string>", line 455, in main
File "<string>", line 416, in get_pat_file
NameError: global name 'askfile_c' is not defined
Which is caused by newer version of IDA and renaming of the askfile_c member to ask_file in the ida_kernwin type, as explained in this porting guide by hex-rays.
There are many more errors like this one for many members in different types.
One possible solution I see is to have 2 versions of the file now: idb2pat.py and idb2pat_74plus.py for appropriate IDA version.
After updating the file and changing names for all the members(which changed names), I was able to succesfully generate .sig file for a simple test Hello World VC++ solution for Windows from a version with .pdb loaded for the same executable without the .pdb loaded: