Unix Technical Forum

ELF decompiling?

This is a discussion on ELF decompiling? within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> Hello. I have ELF file compiled for PA-RISC. Have PA-RISC machine with HP-UX 11.11. And trying to decompile this ...


Go Back   Unix Technical Forum > Unix Operating Systems > HP-UX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2008, 05:36 AM
hypermodest
 
Posts: n/a
Default ELF decompiling?

Hello.

I have ELF file compiled for PA-RISC. Have PA-RISC machine with HP-UX
11.11. And trying to decompile this file.
Objdump said:

$ objdump -d module.o
objdump: module.o: File format not recognized

Gdb said:

$ gdb module.o
Detected 64-bit executable.
Invoking /opt/langtools/bin/gdb64.
HP gdb 5.0 for PA-RISC 2.0 (wide), HP-UX 11.00
and target hppa2.0w-hp-hpux11.00.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 5.0 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions
to
change it and/or distribute copies. Type "show warranty" for
warranty/support.
...(no debugging symbols found)...
(gdb) disas module_fn
Dump of assembler code for function module_fn:
0x0 <module_fn>: Error accessing memory address 0x0: Invalid
argument.

What else can I try to disassemble it?
Thanks in advance.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 05:36 AM
Paul Pluzhnikov
 
Posts: n/a
Default Re: ELF decompiling?

"hypermodest" <hypermodest@gmail.com> writes:

> I have ELF file compiled for PA-RISC. Have PA-RISC machine with HP-UX
> 11.11. And trying to decompile this file.
> Objdump said:
>
> $ objdump -d module.o
> objdump: module.o: File format not recognized


So this objdump was compiled without 64-bit support.
Build yourself another one that has 64-bit pa-risc.

> Gdb said:
>
> $ gdb module.o


Gdb isn't prepared to work on relocatable objects; only on fully
linked executables and DSOs.

Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:15 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com