Understanding the Principles of Ftrace Hook from Assembly Code
Previously, in the article on easily hooking Linux kernel functions using Ftrace, we introduced how to use ftrace (function trace) to hook kernel functions. Through the ftrace mechanism, we can specify a callback function that we write for the kernel function we want to hook. When the target function is called, the kernel automatically invokes … Read more