You May Also Enjoy
Performance counter 4
25 minute read
Published:
In this post we will learn what is max sampling rate parameters, sample overflow interrupts between kernel ticks and how linux kernel dynamically adjusts the max sample rate when it detects that an interrupt from sample overflow is taking too long.
The Pointer Mistake
9 minute read
Published:
pointer pointing to a value vs pointer pointing to a pointer
If a function is ever called
12 minute read
Published:
Given a large C project and I want to know if a vulnerable function is ever being used by the test cases, how to find it?
GCC FunctionInstrumentation
16 minute read
Published:
In this post, we explore how the -finstrument-functions flag and a custom GCC plugin can be used to intercept function entry and exit at compile time. We then examine a less obvious case: what happens when the function we want to instrument is not defined in the main binary, but instead lives in a shared library.
