Python: Allow creation of typed arrays in IDA and Ghidra

This commit is contained in:
Katy Coe
2020-09-06 05:23:28 +02:00
parent 658896f6d6
commit e341f8886b
3 changed files with 29 additions and 4 deletions

View File

@@ -10,6 +10,10 @@ def SetName(addr, name):
def MakeFunction(start):
ida_funcs.add_func(start)
def MakeArray(addr, numItems, cppType):
SetType(addr, cppType)
idc.make_array(addr, numItems)
def DefineCode(code):
idc.parse_decls(code)