ELF file headers

前端 未结 9 1085
無奈伤痛
無奈伤痛 2021-02-05 22:15

A quick question about elf file headers, I can\'t seem to find anything useful on how to add/change fields in the elf header. I\'d like to be able to change the magic numbers an

相关标签:
9条回答
  • 2021-02-05 22:52

    In Solaris you can use elfedit but I think you are really asking solutions for Linux. Linux Is Not UniX :P

    0 讨论(0)
  • 2021-02-05 22:55

    I'm fairly sure that a sufficiently complex ld script can do what you want. However, I have no idea how.

    On the other hand, elfsh can easily do all sorts of manipulations to elf objects, so give it a whirl.

    0 讨论(0)
  • 2021-02-05 22:59

    In Linux Console:

    $ man ld

    $ ld --verbose

    HTH

    0 讨论(0)
提交回复
热议问题