appending data to an executable binary
11 Apr 2000 14:36:08 -0400

          From comp.compilers

Related articles
appending data to an executable binary (2000-04-11)
Re: appending data to an executable binary (2000-04-14)
Re: appending data to an executable binary (Joachim Durchholz) (2000-04-14)
Re: appending data to an executable binary (2000-04-15)
| List of all articles for this month |

Newsgroups: comp.compilers
Date: 11 Apr 2000 14:36:08 -0400
Organization: - Before you buy.
Keywords: linker, question, comment


I would like to place meta data at the end of a binary executable in
order to be able to quickly scan it and verify its attributes and
associations (such as date of build, test results, etc.). Is it
possible in general to append data to the end of an existing
executable binary or will doing that corrupt the binary? I've tried a
quick test with an MS-Windows NT DLL and doing so didn't seem to cause
any adverse effects.

Would this be platform/compiler dependent? Is there
another/better/any way of tagging a binary _after_ it's been created?
I know I could easily compile in the build date, but I would like to
assure the data is at a known place in the binary for access. Also
there is information I would like to add that is only available after
the binary has been created.

The platforms I have available to me are:
Windows NT

Any information and/or pointers to good documentation are appreciated.
Jeff Wolkenhauer
[It's platform dependent, but most of the executable formats I can think
of don't mind extra stuff at the end of the file. -John]

Post a followup to this message

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