Re: appending data to an executable binary

mac@ac.valley.net (M Alex Colvin)
15 Apr 2000 10:30:45 -0400

          From comp.compilers

Related articles
appending data to an executable binary jwolken@hevanet.com (2000-04-11)
Re: appending data to an executable binary jimbo@radiks.net (2000-04-14)
Re: appending data to an executable binary joachim.durchholz@halstenbach.com.or.de (Joachim Durchholz) (2000-04-14)
Re: appending data to an executable binary mac@ac.valley.net (2000-04-15)
| List of all articles for this month |
From: mac@ac.valley.net (M Alex Colvin)
Newsgroups: comp.compilers
Date: 15 Apr 2000 10:30:45 -0400
Organization: Dartmouth College, Hanover, NH, USA
References: 00-04-082 00-04-103
Keywords: linker, comment

> Is it possible in general to append data to the end of an existing
> executable binary or will doing that corrupt the binary?


obviously, not if someone else has also discovered this trick.


--
mac the naïf
[Good point. Some formats, notably ELF, have provision for user-defined
sections so you can embed any old junk you want in the executable itself.
Since this sort of hack is format-specific anyway, I'd suggest doing that
to avoid being bitten by someone else's appended data. -John]


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.