ELF Symbol Interposition: Decide Whether a Shared Library Must Bind to Its Own State
Two shared libraries can define a global with the same name and still have both libraries’ internal references resolve to one provider. Before applying a binding flag, decide whether that name is an intentional process-wide interface or accidental private-state exposure. The repair changes semantics, not just the export list. This guide uses GCC 14.2, GNU…