RE: Can you expand the size of a section in ELF? 12-30-2018, 11:52 PM
#3
(12-30-2018, 05:15 PM)sunjester Wrote: LD_PRELOAD at runtime?Not really I was wondering if you can change the size of a section (e.g .data, .text) dynamically. Let's say the .text section has a size of 1024 bytes and I want to increase that to 2048 bytes dynamically. Therefore, I think I need to repatch the binary somehow because if I only change that in the ELF header the loader will get confused.
https://www.youtube.com/watch?v=iFXUnCGIrcc







![[+]](https://sinister.li/images/modern/collapse_collapsed.png)