I have a ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), which is also stripped, and I want to explore it. Does anyone know how to decompile such a file?
14
votes
1 Answers
1
votes
IDA plus Hex-Rays decompiler can decompile (to pseudo-C code) most of 32-bit x86 code, including Linux ELF files.
Disclaimer: I work for Hex-Rays.
readelfandobjdump. Without knowing what you're looking for precisely, it's hard to tell you how you could do it. - Matreadelf: Error: Unable to read in 0x2000000 bytes of string table readelf: Error: no .dynamic section in the dynamic segmentBTW its legal and its for a contest :P - Ajmal Salimstringscommand, but I doubt it will be that easy. You'll probably have to use some disassembler and try to understand the asm. For simple usages I'd recommend something lightweight, like ht editor. Also, you could use gdb, see stackoverflow.com/questions/4698299/…. By the way, if it's for the contest, you shouldn't really ask for help, right? Anyway, good luck. - trakos