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

How to determine an offset for a kernel method? #11

Open
YiYiZheng opened this issue May 26, 2022 · 1 comment
Open

How to determine an offset for a kernel method? #11

YiYiZheng opened this issue May 26, 2022 · 1 comment

Comments

@YiYiZheng
Copy link

YiYiZheng commented May 26, 2022

Is there a doc showing how to determine?

For example, iPhone X 14.4.2, open1 method

Not sure if the code snippet below will hook open1 method?
ret = syscall(SYS_xnuspy_ctl, XNUSPY_INSTALL_HOOK, 0xfffffff007d574f4, open1, &open1_orig);

Just do not understand the difference between sysctlbyname and syscall...

  1. Could you help me to find offset of necp_send_network_denied_event method in iPhone X 14.4.2
@gr3atest
Copy link

Take a look at this: #3

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