Bringing USDT Power to Parca
polarsignals.com·1d·
Discuss: Hacker News
🔎Static Analysis
Preview
Report Post

The Problem

eBPF and in particular uprobes allow basically limitless ability to dig into your software to trace what is going on. Think about it, you can attach a probe to basically any instruction in any function in any executable. That’s a lot of probe points! But in practice it can be challenging because you may not be familiar with the code you want to trace and it may be hard to discover what can be traced if binaries are stripped. Turns out reading binaries is difficult! But lets say you know what you want to trace (i.e. you have a function name in hand) and the binary isn’t stripped so translating function name to address is straight-forward. The next task you might want to do is extract some value from the program, an integer that represents the size of something, a s…

Similar Posts

Loading similar posts...