Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

frida.NotSupportedError: unexpected error while mapping dylib (mach_vm_write(runtime) returned '(os/kern) invalid address') #276

Open
zywu0221 opened this issue Oct 28, 2024 · 1 comment

Comments

@zywu0221
Copy link

TommydeMBP:~ root# python3 /Users/tommywu/Desktop/example.py
Traceback (most recent call last):
File "/Users/tommywu/Desktop/example.py", line 6, in
session = frida.attach("cat")
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/frida/init.py", line 95, in attach
return get_local_device().attach(target, realm=realm, persist_timeout=persist_timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/frida/core.py", line 86, in wrapper
return f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/frida/core.py", line 1071, in attach
return Session(self._impl.attach(self._pid_of(target), **kwargs)) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
frida.NotSupportedError: unexpected error while mapping dylib (mach_vm_write(runtime) returned '(os/kern) invalid address')

@jpstotz
Copy link

jpstotz commented Oct 28, 2024

This is the issue tracker of the frida website https://frida.re that presents the documentation, not of the frida tool itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants