Instrumenting Binaries using revng and LLVM
One of the first things I ever wanted to implement was an import hooking library that placed the hooks by rewriting the calls statically instead of hooking the functions in-memory.
One of the first things I ever wanted to implement was an import hooking library that placed the hooks by rewriting the calls statically instead of hooking the functions in-memory.
This post will guide you through my set up and we’ll explore what worked and what didn’t (maybe it works for you!).