From owner-freebsd-hackers@FreeBSD.ORG Wed May 21 03:37:31 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F01237B401 for ; Wed, 21 May 2003 03:37:31 -0700 (PDT) Received: from mindfields.energyhq.es.eu.org (213-97-200-73.uc.nombres.ttd.es [213.97.200.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 520C343FAF for ; Wed, 21 May 2003 03:37:27 -0700 (PDT) (envelope-from flynn@energyhq.es.eu.org) Received: from scienide.energyhq.es.eu.org (scienide.energyhq.es.eu.org [192.168.100.1]) by mindfields.energyhq.es.eu.org (Postfix) with SMTP id E913B2B96C; Wed, 21 May 2003 12:37:22 +0200 (CEST) Date: Wed, 21 May 2003 12:37:04 +0200 From: Miguel Mendez To: Dag-Erling Smorgrav Message-Id: <20030521123704.62ec857d.flynn@energyhq.es.eu.org> In-Reply-To: References: X-Mailer: Sylpheed version 0.8.11claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) X-Face: 1j}k*2E>Y\+C~E|/wehi[:dCM,{N7/uE3o# P,{t7gA/qnovFDDuyQV.1hdT7&#d)q"xY33}{_GS>kk'S{O]nE$A`T|\4&p\&mQyexOLb8}FO List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2003 10:37:31 -0000 --=.a8RF7hA9sGu6aJ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 21 May 2003 11:20:49 +0200 Dag-Erling Smorgrav 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--