This is a discussion on disassembler or objdump for hpux 11.23 Itanium within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> Hi all We need a disassembler for HP Itanium. The old gnu "objdump" that we have does not support ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi all We need a disassembler for HP Itanium. The old gnu "objdump" that we have does not support Itanium ia64. Question 1: does hpux 11.23 for itanium has a disassembler we can use? Question 2: is there an "objdump" that can read ia64 formats. > objdump -d /bin/ksh oobjdump: /bin/ksh: File format not recognized Question 3: (the real reason) is there a tool that tells us that 2 binaries (executable or library) has changed, regardless of any timestamp? Thanks in advance |
| |||
| suuquan@sbcglobal.net writes: > Question 1: does hpux 11.23 for itanium has a disassembler we can use? $ uname -a HP-UX baloo B.11.23 U ia64 1194849711 unlimited-user license $ which objdump /usr/local/bin/objdump $ objdump --version | head -1 GNU objdump 2.14 20030612 $ echo "int main() { return 0; }" > junk.c && cc junk.c && objdump -d a.out && cc +DD64 junk.c && objdump -d a.out a.out: file format elf32-ia64-hpux-big Disassembly of section .text: 040007a0 <main>: 40007a0: 19 50 40 19 3f 23 [MMB] adds r10=-48,r12 40007a6: 80 00 00 00 48 80 mov r8=0 40007ac: 00 00 84 02 br.ret.dptk.few b0;; a.out: file format elf64-ia64-hpux-big Disassembly of section .text: 4000000000000a80 <main>: 4000000000000a80: 19 50 40 19 3f 23 [MMB] adds r10=-48,r12 4000000000000a86: 80 00 00 00 48 80 mov r8=0 4000000000000a8c: 00 00 84 02 br.ret.dptk.few b0;; > Question 3: (the real reason) is there a tool that tells us that 2 > binaries (executable or library) has changed, regardless of any > timestamp? Not to my knowledge. The fact that you are asking this question tells me that you probably need better revision control and/or automated build procedure. Cheers, -- In order to understand recursion you must first understand recursion. Remove /-nsp/ for email. |
| |||
| Thanks, but on my machine, /usr/local/bin/objdump does NOT exist. Is there a swinstall depot I can get it from? Also, about "need better revison control or automated procedure": I'm too new at this company. Taking over a change request that was passed on to me just because people think I can do it. |
| |||
| suuquan@sbcglobal.net writes: > Is there a swinstall depot I can get it from? We didn't build it ourselves, so there must be some place we got it from. I don't know what that place is though Aha, this package has gcc-3.4.3 and binutils for ia64: http://gatekeep.cs.utah.edu/ftp/hpux...11.23.depot.gz Cheers, -- In order to understand recursion you must first understand recursion. Remove /-nsp/ for email. |
| |||
| suuquan@sbcglobal.net writes: > Hi all > > We need a disassembler for HP Itanium. The old gnu "objdump" that we > have does not support Itanium ia64. > > Question 1: does hpux 11.23 for itanium has a disassembler we can use? HP offers a Linux emulation (AFAIK). In Linux you could disassemble using gdb, so maybe Linux' gdb will disassemble HP-UX binaries Maybe you can just get a native gdb for HP-UX. > > Question 2: is there an "objdump" that can read ia64 formats. "ELF64" is is in Linux, and AFAIK also in HP-UX > > objdump -d /bin/ksh > oobjdump: /bin/ksh: File format not recognized > > Question 3: (the real reason) is there a tool that tells us that 2 > binaries (executable or library) has changed, regardless of any > timestamp? md5sum, or tripwire ;-) Regards, Ulrich |
| |||
| Paul Pluzhnikov wrote: > suuquan@sbcglobal.net writes: > > > Is there a swinstall depot I can get it from? > Aha, this package has gcc-3.4.3 and binutils for ia64: > http://gatekeep.cs.utah.edu/ftp/hpux...11.23.depot.gz Thanks, I'll ask the admin to swinstall it. I'll let you know how that goes. It's Saturday. > In order to understand recursion you must first understand recursion. Good funny one. Who said it first? not Jessica Simpson I presume. |
| ||||
| You can use gdb to disassemble on HP-UX. You can download HP gdb for Itanium from www.hp.com/go/wdb -Himabindu Vuppula "Ulrich Windl" <Ulrich.Windl@RZ.Uni-Regensburg.DE> wrote in message news:863bu1tq2f.fsf@pc8032.rz.uni-regensburg.de... > suuquan@sbcglobal.net writes: > > > Hi all > > > > We need a disassembler for HP Itanium. The old gnu "objdump" that we > > have does not support Itanium ia64. > > > > Question 1: does hpux 11.23 for itanium has a disassembler we can use? > > HP offers a Linux emulation (AFAIK). In Linux you could disassemble using gdb, > so maybe Linux' gdb will disassemble HP-UX binaries > > Maybe you can just get a native gdb for HP-UX. > > > > > Question 2: is there an "objdump" that can read ia64 formats. > > "ELF64" is is in Linux, and AFAIK also in HP-UX > > > > objdump -d /bin/ksh > > oobjdump: /bin/ksh: File format not recognized > > > > Question 3: (the real reason) is there a tool that tells us that 2 > > binaries (executable or library) has changed, regardless of any > > timestamp? > > md5sum, or tripwire ;-) > > Regards, > Ulrich |