We have raw addresses from a Linux program’s call stack, but how do we use addr2line
to convert the addresses if the program is a position-independent executable (PIE)?
In Windows, we can record the in-memory base address of the module, then do simple addition or subtraction to get an address that works with a .pdb file.
3