Locating Members of C Language Structures in the Kernel
When examining kernel code, there is a small trick regarding the C language that can be shared to facilitate code reading. 1. Directly Finding the Parent Pointer of a Structure We know that kernel header files define structures, and when defining structures, the first item of important structures is typically set as a sub-structure. As … Read more