mjhouse / deaf

A library for inspecting/modifying ELF binaries
GNU General Public License v3.0
7 stars 0 forks source link

Update Section offsets when Section bodies are changed #46

Open mjhouse opened 1 year ago

mjhouse commented 1 year ago

Is your feature request related to a problem? Please describe. When an item is added to a table, it changes the size of the table. When the binary data of a section is modified, it changes the size of the section.

Describe the solution you'd like Sections that come after the modified location in the file need to have their sh_offset field updated to reflect the change.

Describe alternatives you've considered N/A