Gallopsled / pwntools

CTF framework and exploit development library
http://pwntools.com
Other
11.99k stars 1.7k forks source link

elf: Resolve more relocations into GOT entries #2277

Closed Arusekk closed 10 months ago

Arusekk commented 1 year ago

So far only relocations pointing to external symbols were considered when filling GOT. Relocations in libc are a different thing, often found in CTF challenges (libc with partial RELRO has many interesting overridable function pointers, like strlen & strchrnul).

peace-maker commented 1 year ago

Nice, is it possible to add a test for this?