Skip to content

当dumpdecrypted -X时报错 AttributeError: 'NoneType' object has no attribute 'startswith' #29

@chibofeng

Description

@chibofeng

(lldb) dumpdecrypted -X
[] set breakpoint at CFBundleGetMainBundle
[
] will continue process and dump
[] start execute dumpdecrypted
[
] delete all breakpoints
[-] failed to auto get main module, use -m option
[-] failed to auto get main module, use -m option
Traceback (most recent call last):
File "/Users/XX/xia0LLDB/src/dumpdecrypted.py", line 51, in handle_command
ret = dumpdecrypted(debugger)
File "/Users/XX/xia0LLDB/src/dumpdecrypted.py", line 546, in dumpdecrypted
images = utils.get_all_image_of_app()
File "/Users/XX/xia0LLDB/src/utils.py", line 121, in get_all_image_of_app
if app_path.startswith("/private"):
AttributeError: 'NoneType' object has no attribute 'startswith'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions