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

Are there related documents about function address offset? #11

Open
Dcell opened this issue Dec 11, 2020 · 1 comment
Open

Are there related documents about function address offset? #11

Dcell opened this issue Dec 11, 2020 · 1 comment

Comments

@Dcell
Copy link

Dcell commented Dec 11, 2020

let offset = MemoryLayout<Int>.size == 8 ? 16 : 12

@Dcell Dcell changed the title are there related documents about function address offset? Are there related documents about function address offset? Dec 11, 2020
@devxoul
Copy link
Owner

devxoul commented Dec 16, 2020

I did refer https://github.com/rodionovd/SWRoute/wiki/Function-hooking-in-Swift . But the memory address keeps changing in Xcode 12 everytime I access to the function :(

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