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 4 of 9 Topic 4611 of 4729
Post > Topic >>

Re: x86 disassembly + reassembly

by ArarghMail805NOSPAM <spamtrap@[EMAIL PROTECTED] > May 1, 2008 at 08:55 PM

On Thu, 10 Apr 2008 11:21:44 -0700 (PDT), ljp  <spamtrap@[EMAIL PROTECTED]
>
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.
>
>Is this total madness?  I control the original compilation (using
>gcc), so the binary does contain debugging information -- with this
>information, is objdump (or any other tool?) going to be able to
>disassemble the binary correctly without guessing about instruction
>boundaries?
>
>The reason I'm considering this is that I need a single assembly file
>representing the program /after/ linking.
>
>Alternately, does anyone know of a way to "link" assembly files, e.g.,
>if the normal order of things is:
>
>    foo.s -> ASSEMBLER -> foo.o
>    bar.s -> ASSEMBLER -> bar.o
>    foo.o, bar.o -> LINKER -> foobar.exe
>
>then I want to get foobar.s such that
>
>   foo.s, bar.s ->  ??? -> foobar.s
>   foobar.s -> ASSEMBLER -> foobar.exe

If you aready have foo.s & bar.s, that should be pretty trivial for
anyone who is past a beginning assembly programmer.

-- 
ArarghMail805 at [drop the 'http://www.'
from ->] http://www.arargh.com
BCET Basic Compiler Page: http://www.arargh.com/basic/index.html

To reply by email, remove the extra stuff from the reply address.
 




 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 Fri Jul 25 15:09:28 CDT 2008.