Some short code for show swizzling
There are two way to run:
- Just run
make run
. - You can run
prog
by./prog
and use other tool like osxinj to injectinjlib.dylib
.
A simple program that will be injected injlib.dylib
.
A dynamic library that will inject to prog
.
I started learning Objective-C three days ago, please forgive me if there is anything wrong.