public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] disassemble binary arm-code
@ 2001-08-14  0:22 Edelmann Thomas
  2001-08-14  1:01 ` Andrew Lunn
  0 siblings, 1 reply; 4+ messages in thread
From: Edelmann Thomas @ 2001-08-14  0:22 UTC (permalink / raw)
  To: 'ecos-discuss@sourceware.cygnus.com'

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 654 bytes --]

Hi.

I have an arm code binary file. (208 bytes)

Is it possible to disassemble the file??? How???

Thanks for your help.

ciao,
Thomas

> ---
> Windows:  A 32 bit shell for a 16 bit operating system, originally written
> for
>  an 8 bit processor on a 4 bit bus by a 2 bit company that can't stand 1
> bit of
>  competition!
> ________________________________________________________
> Thomas Edelmann             Siemens AG, A&D ATS 13
> * Voice:  +49 911/895-2703	Postfach 4848
> * Fax:      +49 911/895-3715	D-90327 Nürnberg
> * E-Mail: mailto:Thomas.Edelmann@nbgm.siemens.de
>       Visit our Internet-Server at http://www.ad.siemens.de
> 
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] disassemble binary arm-code
  2001-08-14  0:22 [ECOS] disassemble binary arm-code Edelmann Thomas
@ 2001-08-14  1:01 ` Andrew Lunn
  2001-08-14  6:50   ` Jonathan Larmour
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Lunn @ 2001-08-14  1:01 UTC (permalink / raw)
  To: Edelmann Thomas; +Cc: 'ecos-discuss@sourceware.cygnus.com'

On Tue, Aug 14, 2001 at 09:22:04AM +0200, Edelmann Thomas wrote:
> Hi.
> 
> I have an arm code binary file. (208 bytes)
> 
> Is it possible to disassemble the file??? How???

arm-elf-objdump --disassemble-all myfile

This assumes its an elf file produced by gcc. I think the compile ARM
sell use some other format.

        Andrew

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] disassemble binary arm-code
  2001-08-14  1:01 ` Andrew Lunn
@ 2001-08-14  6:50   ` Jonathan Larmour
  0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Larmour @ 2001-08-14  6:50 UTC (permalink / raw)
  To: Andrew Lunn; +Cc: Edelmann Thomas, 'ecos-discuss@sourceware.cygnus.com'

Andrew Lunn wrote:
> 
> On Tue, Aug 14, 2001 at 09:22:04AM +0200, Edelmann Thomas wrote:
> > Hi.
> >
> > I have an arm code binary file. (208 bytes)
> >
> > Is it possible to disassemble the file??? How???
> 
> arm-elf-objdump --disassemble-all myfile
> 
> This assumes its an elf file produced by gcc. I think the compile ARM
> sell use some other format.

Indeed. If it really is a pure binary file, you could use arm-elf-objcopy
to convert it to an ELF file. Can't remember the exact options off-hand,
but it's trivial to look up.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [ECOS] disassemble binary arm-code
  2001-08-14  1:12 AW: " Edelmann Thomas
@ 2001-09-21  9:02 ` Trenton D. Adams
  0 siblings, 0 replies; 4+ messages in thread
From: Trenton D. Adams @ 2001-09-21  9:02 UTC (permalink / raw)
  To: 'Edelmann Thomas', 'Andrew Lunn',
	'Jonathan Larmour'
  Cc: ecos-discuss

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1160 bytes --]

I just did the following.

arm-elf-objdump.exe -D -b binary temp.bin --architecture=arm | less


> -----Original Message-----
> From: ecos-discuss-owner@sources.redhat.com 
> [ mailto:ecos-discuss-owner@sources.redhat.com ] On Behalf Of 
> Edelmann Thomas
> Sent: Tuesday, August 14, 2001 2:12 AM
> To: 'Andrew Lunn'
> Cc: 'ecos-discuss@sourceware.cygnus.com'
> Subject: AW: [ECOS] disassemble binary arm-code
> 
> 
> Thanks for your help,
> 
> but it's not an elf-file, it's just byte code.
> 
> > -----Ursprüngliche Nachricht-----
> > Von: Andrew Lunn [ mailto:andrew.lunn@ascom.ch ]
> > Gesendet: Dienstag, 14. August 2001 10:01
> > An: Edelmann Thomas
> > Cc: 'ecos-discuss@sourceware.cygnus.com'
> > Betreff: Re: [ECOS] disassemble binary arm-code
> > 
> > 
> > On Tue, Aug 14, 2001 at 09:22:04AM +0200, Edelmann Thomas wrote:
> > > Hi.
> > > 
> > > I have an arm code binary file. (208 bytes)
> > > 
> > > Is it possible to disassemble the file??? How???
> > 
> > arm-elf-objdump --disassemble-all myfile
> > 
> > This assumes its an elf file produced by gcc. I think the 
> compile ARM
> > sell use some other format.
> > 
> >         Andrew
> > 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-09-21  9:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-14  0:22 [ECOS] disassemble binary arm-code Edelmann Thomas
2001-08-14  1:01 ` Andrew Lunn
2001-08-14  6:50   ` Jonathan Larmour
2001-08-14  1:12 AW: " Edelmann Thomas
2001-09-21  9:02 ` Trenton D. Adams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).