Skip to content

unpack requires a string argument of length 8 #1

Description

@easthg

System: macOS 10.12
Some error occur when open dyld_shared_cache_arm64.

/Users/XiaoMi/Desktop/dsc_fix.py: unpack requires a string argument of length 8
Traceback (most recent call last):
File "/Applications/IDA Pro 6.95/idaq64.app/Contents/MacOS/python/ida_idaapi.py", line 509, in IDAPython_ExecScript
execfile(script, g)
File "/Users/XiaoMi/Desktop/dsc_fix.py", line 760, in
main()
File "/Users/XiaoMi/Desktop/dsc_fix.py", line 744, in main
adrfind = AddrFinder(dsc_file, cache_symbols=False)
File "/Users/XiaoMi/Desktop/dsc_fix.py", line 402, in init
self.indexer.index()
File "/Users/XiaoMi/Desktop/dsc_fix.py", line 377, in index
self.dyldwalker.walk_segments(self._callback, verbose=verbose)
File "/Users/XiaoMi/Desktop/dsc_fix.py", line 329, in walk_segments
verbose=verbose)
File "/Users/XiaoMi/Desktop/dsc_fix.py", line 338, in walk_images
mappings = dyld_cache_mapping_info(self.cache, header.mapping_count)
File "/Users/XiaoMi/Desktop/dsc_fix.py", line 174, in dyld_cache_mapping_info
ret.append(_dyld_cache_mapping_info(dsc_file))
File "/Us

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions