Re: [SLUG] Reversing C Compilation

From: Paul Bransford (draeath@gmail.com)
Date: Mon Apr 06 2009 - 15:50:07 EDT


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul M Foster wrote:
| I've got a ELF .o (object) 32 bit file compiled under GCC (not
| stripped), and I'd like to look at the actual C code which created it.
| Anyone know of a way to run that object file through something to
| reconstruct the C code? (Seems like I should know this, but it escapes
| me.)
|
| Paul
|

http://www.itee.uq.edu.au/~cristina/dcc.html

It won't be the same code that generated it, but the code given will
recompile back into the binary you have.

If there are no symbols in the binary, you will get strange looking code
and variables will be named oddly. I haven't used this practically.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknaXO8ACgkQMAPxIFfSIpm43wCdFjD6Qg3mCZgeiN5ckrJWhUpz
eL4AmwZjZz+5opz5kKsgLUFOPF0jnhUz
=CP5Z
-----END PGP SIGNATURE-----
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:31:19 EDT