From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Edwards To: "Trenton D. Adams" Cc: "'Trenton D. Adams'" , 'eCos Discussion' Subject: Re: [ECOS] objdump for binary file Date: Tue, 21 Aug 2001 13:28:00 -0000 Message-id: <20010821152957.A1338@visi.com> References: <20010821143446.A922@visi.com> <000801c12a7c$99c8ceb0$090110ac@TRENT> X-SW-Source: 2001-08/msg00715.html On Tue, Aug 21, 2001 at 02:05:18PM -0600, Trenton D. Adams wrote: > > > I compiled an eCos program and then copied it to a binary file. > > > Is there a way of dumping the assembly now? > > > > No. > > > > Run arm-elf-objdump --source on the ELF file. > Ok, if the arm-elf tools can't do it, how would I do it? It can be done by converting the file back into ELF format. > I want to reverse engineer a driver for the PCMCIA controller > I'm using. I think it's in plain binary form, but I'm not > sure. You've got an eCos program in binary-only and you need to reverse-engineer it? Ouch. Have you reverse-engineered machine-level stuff before? You probably need to find a good interactive disassembler that lets you annotate stuff as you figure it out. I don't know of any for ARM. -- Grant Edwards grante@visi.com