简体   繁体   中英

Identifying information about executable

I have a Linux executable that seems to have been written in C++ using a GNU compiler, and in debug mode. I'd like to know if my conclusion is correct and what are my chances of decompiling it into something at least somewhat readable. Here's a few telltale snippets from the executable:

Snippet 1

</heap>
<malloc version="1">
nclears >= 3 Arena %d:
system bytes    = %10u
in use bytes    = %10u
Total (incl. mmap):
max mmap regions = %10u

Snippet 2

__gnu_cxx::__concurrence_lock_error

Snippet 3

ELF file ABI version invalid ◻ invalid ELF header ◻ ELF file OS ABI invalid

Snippet 4

GCC: (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5 ◻
GCC: (Ubuntu/Linaro 4.4.4-14ubuntu1) 4.4.5 20100909 (prerelease)

Snippet 5

_dl_debug_vdprintf    pid >= 0 && sizeof (pid_t) <= 4     
...
_dl_debug_initialize (0, args->nsid)->r_state == RT_CONSISTENT

The file is full of readable text like this (but most of it is still gibberish). I don't think you should find this kind of text in an executable compiled in release mode (then again, my knowledge on the matter is very limited). What decompiler should I try to use on this executable?

why dont you put a breakpoint in main and run the executable??? if it is debug mode, you could see the full source code(if the source file is present in the same path). you could step in each step and see the function calls with exact arguments.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM