A simple implementation of the function hook Test only in Ubuntu2204 bit64 Usage: $ sudo apt install libcapstone-dev -y $ git clone https://github.com/hupeng84/funchook.git $ cd funchook $ mkdir build $ cd build $ cmake .. $ make $ ./funchook