Skip to content

运行自己可执行文件时报错,如何解决 #125

@a582468113

Description

@a582468113

Traceback (most recent call last):
File "/Users/xsf/Project/spider/.venv/lib/python3.10/site-packages/chomper/core.py", line 213, in _start_emulate
self.uc.emu_start(address, stop_addr)
File "/Users/xsf/Project/spider/.venv/lib/python3.10/site-packages/unicorn/unicorn_py3/unicorn.py", line 642, in emu_start
raise UcError(status)
unicorn.unicorn_py3.unicorn.UcError: Invalid memory fetch (UC_ERR_FETCH_UNMAPPED)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/Users/xsf/Project/sp_wokers/jtCode/chomper/jt.py", line 82, in
main()
File "/Users/xsf/Project/sp_wokers/jtCode/chomper/jt.py", line 64, in main
dict = objc.msg_send("RPCAppServiceFacade", "queryFeedsRPCHeaderField")
File "/Users/xsf/Project/spider/.venv/lib/python3.10/site-packages/chomper/objc.py", line 55, in msg_send
return self.emu.call_symbol("_objc_msgSend", receiver, sel, *new_args)
File "/Users/xsf/Project/spider/.venv/lib/python3.10/site-packages/chomper/core.py", line 744, in call_symbol
return self._start_emulate(address, *args)
File "/Users/xsf/Project/spider/.venv/lib/python3.10/site-packages/chomper/core.py", line 216, in _start_emulate
self.crash("Unknown reason", exc=e)
File "/Users/xsf/Project/spider/.venv/lib/python3.10/site-packages/chomper/core.py", line 361, in crash
raise EmulatorCrashedException(
chomper.exceptions.EmulatorCrashedException: Unknown reason at 0x0

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