You May Also Enjoy
SSH to Same Mac Address, Same IP Address but different OS
1 minute read
Published:
Scenario
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.
Performance counter 3
9 minute read
Published:
In this post, We will explore three monitor modes supported by perf_event_open() to monitor events.
