SIGN IN SIGN UP

[RTTI] Handle cxxabi vtables being referenced via RELOC_COPY

32-bit ELF binaries that are dynamically linked to the C++ runtime may
use a copy relocation for the vtable. The vtable itself will be defined
in the `.bss` section, and the copy relocation will cause the dynamic
linker to populate it at load time from the C++ runtime library.

Detect this by looking for a symbol pointing to the start of the vtable data,
two pointers before the vtable address.
M
Mark Rowe committed
77171115175039b2aef96f754005fea13d2b4375
Parent: 20945fa
Committed by Mason Reed <35282038+emesare@users.noreply.github.com> on 5/10/2025, 12:57:25 AM