Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 2003 12:37:04 +0200
From:      Miguel Mendez <flynn@energyhq.es.eu.org>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        hackers@freebsd.org
Subject:   Re: elf disassembler
Message-ID:  <20030521123704.62ec857d.flynn@energyhq.es.eu.org>
In-Reply-To: <xzp3cj8ac5q.fsf@flood.ping.uio.no>
References:  <xzp3cj8ac5q.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
--=.a8RF7hA9sGu6aJ
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Wed, 21 May 2003 11:20:49 +0200
Dag-Erling Smorgrav <des@ofug.org> wrote:

> Does anyone know of a disassembler that understands 32-bit elf and
> IA32 machine code and can produce output suitable for feeding back to
> gas?  I know about objdump(1), but it doesn't meet the third
> criterion.

I've used dasm for years. Unfortunately, feeding the resulting code back
to an assembler is not immediate. It's still a very useful tool for
reverse engineering, tho. I know it doesn't meet the requirement but
maybe you find it interesting anyway:
http://packetstormsecurity.nl/linux/reverse-engineering/dasm

With that and the help of some awk/grep magic you should be able to end
up with compilable file.

Cheers,
-- 
        Miguel Mendez - flynn@energyhq.es.eu.org
        EnergyHQ :: http://www.energyhq.tk
        Tired of Spam? -> http://www.trustic.com

--=.a8RF7hA9sGu6aJ
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE+y1bUnLctrNyFFPERApLwAJ0SceDKt7uepJmOgOsNMxmbq0MEBACfa9CR
zvph0yw+Orrv0DjrDtP9Bwc=
=iZL3
-----END PGP SIGNATURE-----

--=.a8RF7hA9sGu6aJ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030521123704.62ec857d.flynn>