View previous topic :: View next topic |
Author |
Message |
NoobWithBoobs
Joined: 16 Jul 2008 Posts: 23
|
Posted: Thu Jul 17, 2008 2:23 pm Post subject: decompile elf file |
|
|
seeing as you can compile a bunch of files into an .elf,is there a program to seperate/decompile an elf file back to all those individual files? |
|
Back to top |
|
|
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Thu Jul 17, 2008 2:31 pm Post subject: Re: decompile elf file |
|
|
NoobWithBoobs wrote: | seeing as you can compile a bunch of files into an .elf,is there a program to seperate/decompile an elf file back to all those individual files? |
I ate a chicken burger and some fries today. Is there any way I can throw up the original ingredients in the same form they were before I ate them? No? Didn't think so. :)
In much same manner, there's no way to decompile a program back into the original C/C++ and h files. All you get is vomit (assembly language).
Pretty graphic, but it's an apt description. If you could recover the original files by decompiling, reverse engineering would be simple, not the art form it really is. |
|
Back to top |
|
|
LBGSHI
Joined: 07 Aug 2006 Posts: 136
|
Posted: Thu Jul 17, 2008 10:51 pm Post subject: |
|
|
Heh, there is Hanimar's disassembler (PS2Dis), which will, as J.F noted, vomit a mass of ASM at you, and for other brands of executables, there have been various attempts at "decompilers", all of which have been erratic and only partially functional (and I've never seen one produce code that would recompile, let alone recompile into a functional product). _________________ I may be lazy, but I can...zzzZZZzzzZZZzzz... |
|
Back to top |
|
|
misfire
Joined: 06 Sep 2004 Posts: 120 Location: Germany
|
Posted: Thu Jul 17, 2008 11:47 pm Post subject: |
|
|
IDA Pro is by far the best disassembler I've seen so far: http://www.hex-rays.com/idapro/
Unfortunately, it's quite expensive. |
|
Back to top |
|
|
LBGSHI
Joined: 07 Aug 2006 Posts: 136
|
Posted: Fri Jul 18, 2008 12:06 am Post subject: |
|
|
Yes, it's true that IDA Pro is great. However, I believe only the Advanced version includes MIPS r5900l support, and if I remember correctly, Advanced costs in the thousands. _________________ I may be lazy, but I can...zzzZZZzzzZZZzzz... |
|
Back to top |
|
|
misfire
Joined: 06 Sep 2004 Posts: 120 Location: Germany
|
|
Back to top |
|
|
NoobWithBoobs
Joined: 16 Jul 2008 Posts: 23
|
Posted: Fri Aug 01, 2008 8:00 am Post subject: |
|
|
wow j.f.,
i dont know if i should be offended,but that was a pretty funny analogy |
|
Back to top |
|
|
LBGSHI
Joined: 07 Aug 2006 Posts: 136
|
Posted: Fri Aug 01, 2008 1:30 pm Post subject: |
|
|
I think that was J.F. being cordial :) _________________ I may be lazy, but I can...zzzZZZzzzZZZzzz... |
|
Back to top |
|
|
stinkee2
Joined: 04 Jan 2009 Posts: 8
|
Posted: Sun Jan 04, 2009 2:39 pm Post subject: I have IDA pro Advanced v 5.0 |
|
|
I registered just to say that I have Ida Pro Advanced 5 and I would like to help...
...if possible |
|
Back to top |
|
|
anmabagima
Joined: 01 Oct 2009 Posts: 96
|
Posted: Wed Dec 30, 2009 2:11 am Post subject: |
|
|
Hi,
are you still part of this forum ? If this is tha case would you be able to help in decompile PSP .O files into somehow readable code, asm or what ever, as I've completely deleted my cpp sources due to an typo in my makefile.
Thanks.. |
|
Back to top |
|
|
Ozqi
Joined: 23 Jan 2010 Posts: 4 Location: Sweden
|
Posted: Mon Jan 25, 2010 5:30 pm Post subject: |
|
|
anmabagima wrote: | Hi,
are you still part of this forum ? If this is tha case would you be able to help in decompile PSP .O files into somehow readable code, asm or what ever, as I've completely deleted my cpp sources due to an typo in my makefile.
Thanks.. |
I think you should be looking into file recovery programs. Never tried one myself but I bet there's a ton out there that are easy to use. Download one and hope that the sectors of your hdd that once contained the files haven't been overwritten. If they're still there this will be an extremely easier way to solve your problem than trying to decompile your elf. |
|
Back to top |
|
|
|