Here are some simple tests and examples to show the usage of tinyhook.
hook
includes inline hook examplesobjc
includes Objective-C runtime hook examples
make
cd hook && ./main
Use make
to build, then run main
executable in the folder.
Or directly run this, it will run all the tests.
make run
Note: libtinyhook.a
should be built before building these tests.