Put on Your Tinfo_t Hat if You're My Type
summary
Shows how to use IDA Pro APIs and Python to create unparseable types from C++ templates, then recover them by decoding the length/ordinal encodings and doing string replacement to produce valid tinfo_t blobs. Describes a second method to rename local types to temporary names, apply the cleaned type, then restore originals. Demonstrates creating tinfo_t programmatically and using the decompiler UI via use vdui set_lvar_type to change argument and return types and even add/remove arguments, and confirms these techniques transfer PDB template types into an IDB.
AI-written summary · about
