News for hackers. Stuff that matters.
Re:Frame pointers vs. DWARF – my verdict by dezgeg on Wednesday February 15, 2023 @05:36AM (#34802107)
Nice analysis.

It would be interesting to see comparison to Intel LBR.

Also would be nice to know how profiling unwinding is done on Windows (maybe someone knows how to summon Bruce Dawson).

Re:Frame pointers vs. DWARF – my verdict by rwmj on Wednesday February 15, 2023 @06:15AM (#34802372)
AIUI the problems with LBR are two-fold. It only works on newish CPUs, and it only handles a limited number of stack frames (I heard 8, but maybe more on recent CPUs).
Re:Frame pointers vs. DWARF – my verdict by amluto on Wednesday February 15, 2023 @09:15AM (#34804019)
CET’s shadow stacks, on the other hand, will solve this entire problem, both exactly and extremely efficiently.
Re:Frame pointers vs. DWARF – my verdict by zznzz on Wednesday February 15, 2023 @10:20AM (#34804954)
IIUC Windows implements in-kernel unwinding using FPO debug data embedded in every executable.