mandiant / flare-ida

IDA Pro utilities from FLARE team
Apache License 2.0
2.24k stars 465 forks source link

Fix for IDA 7.6sp1 to apply_callee_type.py (user defined type and local type errors) #116

Closed jk45054 closed 3 years ago

jk45054 commented 3 years ago

fix 1: getUserDeclType -> replaced call to idaapi.parse_decl2 with idaapi.parse_decl and reordered function arguments. fix 2: getLocalType -> call to idaapi.choose_local_tinfo needs uint32 argument for argument 4 (def_ord), see choose_local_tinfo(ti, title, func=None, def_ord=0, ud=None) -> uint32

jhsmith commented 3 years ago

Great catch - thanks for the fix.