Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Assembly x86 > Re: x86 disasse...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 9 Topic 4611 of 4710
Post > Topic >>

Re: x86 disassembly + reassembly

by "Alexei A. Frounze" <spamtrap@[EMAIL PROTECTED] > May 3, 2008 at 12:00 AM

On May 2, 7:37 pm, Frank Kotler  <spamt...@[EMAIL PROTECTED]
> wrote:
> ljp wrote:
> > Hi everyone, I have a bizarre question about x86 disassembly...
>
> > I want to disassemble a Linux x86 executable into assembler source
> > that can then be re-assembled into the original binary.
>
> "AsmSrc" from Jeff Owens' package of tools:
>
> http://www.linuxasmtools.net/
>
> Pur****ts to so that. Never tried it, so I can't say if it'll work. Not
> an easy thing to do! As Alexei points out, we'd really like a linker
> script, too...

Basically, for every producible distinct form of the binary there
needs to be a tool to dissect the binary into parts and generate a
linker script for the original linker. The linker must be able combine
that back into an identical binary (maybe with the exception for any
timestamps and debugging information). I'd say that's the first tool
requirement. Then the disassembler must produce disassembly that one
can reassembly unambiguously and feed the object file into the linker
along with the script. If somebody creates the tools for this (the
binary dissector/script producer, unambiguous disassembler and
probably unambiguous assembler too), then the problem is solved. By
design. :)

Alex
 




 9 Posts in Topic:
x86 disassembly + reassembly
ljp <spamtrap@[EMAIL   2008-04-10 11:21:44 
Re: x86 disassembly + reassembly
Belal <spamtrap@[EMAI  2008-04-30 23:08:40 
Re: x86 disassembly + reassembly
"Alexei A. Frounze&q  2008-05-01 02:43:29 
Re: x86 disassembly + reassembly
ArarghMail805NOSPAM <s  2008-05-01 20:55:32 
Re: x86 disassembly + reassembly
Frank Kotler <spamtra  2008-05-03 02:37:40 
Re: x86 disassembly + reassembly
"Alexei A. Frounze&q  2008-05-03 00:00:34 
Re: x86 disassembly + reassembly
Terje Mathisen <spamt  2008-05-03 11:45:51 
Re: x86 disassembly + reassembly
"Alexei A. Frounze&q  2008-05-03 11:49:38 
Re: x86 disassembly + reassembly
"Rod Pemberton"  2008-05-04 00:28:04 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Jul 6 20:19:10 CDT 2008.