Пример #1
0
def display_mimport(addr, data, libname):
    m = module.ModImport(data)

    print "--------------------------------------------------------------------"
    print "- Module Import: %s 0x%x -"%(libname, addr)
    print m
    print "--------------------------------------------------------------------"
Пример #2
0
def display_mimport(addr, data, libname):
    """
		Check for modules in 0xE0000000 space
	"""
    if (addr & 0xE0000000) == 0xE0000000:
        m = module.ModImportSmall(data)

        print "--------------------------------------------------------------------"
        print "- Module Import (Small): %s 0x%x -" % (libname, addr)
        print m
        print "--------------------------------------------------------------------"
    else:
        m = module.ModImport(data)

        print "--------------------------------------------------------------------"
        print "- Module Import: %s 0x%x -" % (libname, addr)
        print m
        print "--------------------------------------------------------------------"