summaryrefslogtreecommitdiff
path: root/binaryview.cpp
diff options
context:
space:
mode:
authorMark Rowe <mrowe@bdash.net.nz>2025-05-09 15:09:23 -0700
committerMason Reed <35282038+emesare@users.noreply.github.com>2025-05-09 20:57:25 -0400
commit77171115175039b2aef96f754005fea13d2b4375 (patch)
tree26ed15d88f0d992e1a952bb221fc005b10c041c6 /binaryview.cpp
parent20945fadfe373d44f916e5e15619e0226459dd98 (diff)
[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.
Diffstat (limited to 'binaryview.cpp')
0 files changed, 0 insertions, 0 deletions