示例#1
0
def Modules():
    """
    Returns a list of module objects with name,size,base and the rebase_to attributes
    """
    mod = ida_idd.modinfo_t()
    result = ida_dbg.get_first_module(mod)
    while result:
        yield ida_idaapi.object_t(name=mod.name, size=mod.size, base=mod.base, rebase_to=mod.rebase_to)
        result = ida_dbg.get_next_module(mod)
示例#2
0
 def obj(**kwds):
     """
     Returns an empty object or objects with attributes as passed via its keywords arguments
     """
     return ida_idaapi.object_t(**kwds)
示例#3
0
文件: py_idd.py 项目: AmesianX/src
 def obj(**kwds):
     """Returns an empty object or objects with attributes as passed via its keywords arguments"""
     return ida_idaapi.object_t(**kwds)