Re: Guidance on Decompiling GCC 11.4.0 Optimized Code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



LIU Hao via Gcc-help <gcc-help@xxxxxxxxxxx> writes:

> 在 2025-3-11 15:01, manoj alladawar 写道:
>> Hello LIU Hao,
>> Thank you for your prompt response.
>> While I understand that objdump can generate assembly code, I am
>> specifically looking to generate high- level C code from a binary
>> that was compiled using GCC with the -O2 optimization flag.
>> I would greatly appreciate your guidance on whether there are any
>> decompilers specifically designed for decompiling GCC-optimized
>> binaries or any reliable decompiler that would be suitable for this
>> reverse engineering task.
>
> When analyzing compiled binaries, we generally read assembly.
>
> But this doesn't mean decompilers don't exist. IDA Pro is a
> reverse-engineering tool which provides a decompiler plugin. It's well
> known on Windows, and is also available on Linux and macOS.
>
> Please be advised, I have not used it on Linux. It is not free
> software and is not free of charge.

Ghidra (https://ghidra-sre.org/) also has decompilation (which, like
most decompilers, does a good job sometimes and not at other times).  It
is available under the Apache 2.0 license, which is GPL3 compatible.

-- 
Michael Welsh Duggan
(md5i@xxxxxxxx)




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux