"Proper" Way to Modify an ELF?

Discussion in 'Computer Software and Operating Systems' started by gudenau, Apr 13, 2017.

  1. gudenau
    OP

    gudenau Largely ignored

    Member
    GBAtemp Patron
    gudenau is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    3,286
    1,252
    Jul 7, 2010
    United States
    /dev/random
    I have been trying to figure out how to create a program that can extract the segments from an ELF file then repack it. I have been unable to make it so that the ELF file is the same after it is repacked without modified segments.

    What is the "proper" way to edit an ELF and allow segments to grow?