ida_kernelcache icon indicating copy to clipboard operation
ida_kernelcache copied to clipboard

doesn't work for python3

Open docfate111 opened this issue 3 years ago • 0 comments

when i run the script

IDA Pro 7.7\python\3\ida_idaapi.py", line 580, in IDAPython_ExecScript
    exec(code, g)
  File "C:/Users/tdwil/Downloads/ida_kernelcache/ida_kernelcache.py", line 8, in <module>
    import ida_kernelcache
  File "C:/Users/tdwil/Downloads/ida_kernelcache\ida_kernelcache\__init__.py", line 13, in <module>
    from . import class_struct
  File "C:/Users/tdwil/Downloads/ida_kernelcache\ida_kernelcache\class_struct.py", line 128, in <module>
    from . import classes
  File "C:/Users/tdwil/Downloads/ida_kernelcache\ida_kernelcache\classes.py", line 10, in <module>
    from . import collect_classes
  File "C:/Users/tdwil/Downloads/ida_kernelcache\ida_kernelcache\collect_classes.py", line 16, in <module>
    from . import segment
  File "C:/Users/tdwil/Downloads/ida_kernelcache\ida_kernelcache\segment.py", line 12, in <module>
    from . import kernel
  File "C:/Users/tdwil/Downloads/ida_kernelcache\ida_kernelcache\kernel.py", line 86, in <module>
    kernelcache_format = _get_kernelcache_format()
  File "C:/Users/tdwil/Downloads/ida_kernelcache\ida_kernelcache\kernel.py", line 82, in _get_kernelcache_format
    if '_PrelinkLinkKASLROffsets' in prelink_info:
TypeError: argument of type 'NoneType' is not iterable

docfate111 avatar May 18 '22 19:05 docfate111