client program compiled with pie

Mark Roberts <[email protected]> Thu, 21 May 2026 16:57:02 -0700
Newsgroups gmane.comp.debugging.valgrind
Message-ID <[email protected]>
Reminder: Our Daikon tool set uses Valgrind to allow us to monitor program
execution. We have been telling our clients that the must build their
programs with -no-pie. We would like to remove that restriction.  Given an
IRStmt with tag = Ist_IMark, we look at the IMark.addr. With -no-pie this
matches the pc addresses in the DWARF debug info. We would like to know how
to do the mapping in a pie executable.  Presumably, we need to add a load
address of some kind.  How do we find that?

Thank you,
Mark