Related articles |
---|
Looking for disassembler, decompiler, discompiler or whatever. zuyihe@163.net (2001-09-03) |
Re: Looking for disassembler, decompiler, discompiler or whatever. andyjnsn@ma.ultranet.com (2001-09-05) |
Re: Looking for disassembler, decompiler, discompiler or whatever. vbdis@aol.com (2001-09-05) |
Re: Looking for disassembler, decompiler, discompiler or whatever. zuyihe@163.net (2001-09-11) |
Re: Looking for disassembler, decompiler, discompiler or whatever. mpointie@eden-studios.fr (Mickaël Pointier) (2001-09-11) |
Re: Looking for disassembler, decompiler, discompiler or whatever. joachim_d@gmx.de (Joachim Durchholz) (2001-09-11) |
Re: Looking for disassembler, decompiler, discompiler or whatever. mpointie@eden-studios.fr (Mickaël Pointier) (2001-09-11) |
Re: Looking for disassembler, decompiler, discompiler or whatever. debray@CS.Arizona.EDU (2001-09-11) |
Re: Looking for disassembler, decompiler, discompiler or whatever. eanders@argus.EECS.Berkeley.EDU (2001-09-11) |
From: | debray@CS.Arizona.EDU (Saumya K. Debray) |
Newsgroups: | comp.compilers |
Date: | 11 Sep 2001 23:15:57 -0400 |
Organization: | University of Arizona CS Department, Tucson AZ |
References: | 01-09-011 01-09-021 01-09-029 |
Keywords: | disassemble |
Posted-Date: | 11 Sep 2001 23:15:57 EDT |
zyy <zuyihe@163.net> wrote:
> My advisor wants me to modify an executable by inserting several
>instructions (to the text section). You are only given
>executable. Jesus, what can I do? Does it sound a reasonable task?
There has been a fair amount of work on modifying executable files for
various purposes such as instrumentation and optimization. A Google
search on phrases like "binary rewriting", "binary translation", and
"link-time code optimization" should give you enough pointers to get
you started.
>Man, it could be a Ph.D. thesis. Any idea to hack this bullshit?
Well, we had an undergraduate student build, in one summer, a binary
rewriting system for Intel x86 executables under Linux (ELF format)
that would modify the code for instrumentation as well as optimization
purposes. It isn't *that* hard.:)
--
Saumya Debray
Dept. of Computer Science, University of Arizona, Tucson
debray@cs.arizona.edu
http://www.cs.arizona.edu/people/debray
Return to the
comp.compilers page.
Search the
comp.compilers archives again.