Skip to content

Instantly share code, notes, and snippets.

View saeed9321's full-sized avatar

Saeed9321 saeed9321

View GitHub Profile
@saeed9321
saeed9321 / hook_function_aarch64.c
Created January 7, 2022 08:02 — forked from liutgnu/hook_function_aarch64.c
This is a demo of function inline hook for arm64
/*
* This program is a demo of function inline hook for aarch64,
* Please compile and test in aarch64, WITHOUT any compile optimization
*
* Function sub will be hooked by hooked_sub, when invoke function sub,
* hooked_sub will be invoked first, then it can decide whether to invoke the
* original sub or not.
*/
#include <stdio.h>
@saeed9321
saeed9321 / Patch dylib to IPA.md
Created November 30, 2021 17:49 — forked from bamtan/Patch dylib to IPA.md
How to combine a dylib and an IPA file so you can use a modified IPA on jailed iOS
@saeed9321
saeed9321 / a.c
Created August 17, 2021 09:33 — forked from wiggin15/a.c
vm_region_recurse_64 / proc_regionfilename
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
#include <libproc.h>
#include <mach/mach.h>
#include <CoreFoundation/CoreFoundation.h>
int main(void)
{