Skip to content

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

Description

@YiYiZheng

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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