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

arm : DobbyHook #267

Open
marlkiller opened this issue May 20, 2024 · 1 comment
Open

arm : DobbyHook #267

marlkiller opened this issue May 20, 2024 · 1 comment

Comments

@marlkiller
Copy link

marlkiller commented May 20, 2024

On macOS, ARM architecture, the tmp parameter in the DobbyHook function call must be passed a valid non-null, value, otherwise it will result in an error. However, on the x86 architecture, passing a null value for tmp does not cause an error.

DobbyHook((void *)_sub_0x10030b9a5, ret, &tmp);

image
@marlkiller
Copy link
Author

Regarding the ARM environment:

Introducing a .dylib can cause this problem, but introducing a .a does not have this issue.

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

1 participant