From nobody Wed Jan 08 03:50:04 2025 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YSYpX150fz5kW0N for ; Wed, 08 Jan 2025 03:50:12 +0000 (UTC) (envelope-from grog@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YSYpX0gQTz4jDM; Wed, 8 Jan 2025 03:50:12 +0000 (UTC) (envelope-from grog@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736308212; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=XC+PnfXBLkiaRoa1mv/DIhCNMmVyfrzRxkeigohnS9Y=; b=PLzdA3nZlbyHE/POKrEXBewRZ+ssnxU78UqIkSHT/X8roJiQfbfA/JitmjD/n2xcsvDxpA XlidEu/3E0W3/ZLOLHvlEPoVWHBzCPAj7HuAIRJWXl8IoWu4r0frmift8p6oajNrORDpvc qWfMzQi7HW/KZZiIn0WEchGN+aEkSWVJiZ+yR0g1WubeRixiJe1EFUms8FXDvFUmwbwt3R K6Gbij8KCnis3Chip9+K/b+wTRVAuCjVrR2ZoXgJ+zvk+jQRu8UBOhOikxzaxZLnU/Jkqc HBTG6d/ypjCSEUcqoZpMK3L8lxWC951DwfQ/F/uhEoU4NciO/79va+rKkWtlDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736308212; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=XC+PnfXBLkiaRoa1mv/DIhCNMmVyfrzRxkeigohnS9Y=; b=ZTOXsThV2j+JyYqsIVgTtGHeIiQIYUJax2JPVbnty4KcFgnwWsnG0SMi1UI5WrmBLHBCl1 XE+hQLL0l1v0pWB013vEwU15DH5D8FbWJxBCXktcbQAYzsi4p+d3NX+Zlb0f5EjASLO32P 977xOiWt+BRZyO0erCqAxBe4/cvdtULOPkWCnT4L1rl9ra2cj8E7ShgGAUTbH9cv8c4MvY Y/QTvwsOt824dAxehxX/wTJwJA1DYPR8bP2vZtZ2YIW6pguKwOUhWmG5S883E4IAyVfBlV Lfm7MjwgzB2y9+3gmIb3UepsFX2mMprYQC5jZx97smMvuzjgCmFNZUhoBnA+oQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736308212; a=rsa-sha256; cv=none; b=MhjDfYC6xrF1dMGKFZyVJgJ2vC0LS6B+lRZt1aibhyoehfccA0RIwNhEoZDXN/3nl6OPUW nqQVvZfsw1G5uFH+b2vPJ/vM1aGFdhZU6R08t4UJIM4EGwzcw8X4e58W6GR77w9Ud3lOXP unCyER7l47Da5u8at0s/2zmmnjCSXWWH+iDC/p7Vc340YIQFbTplaETmzMgyPyJWRrgSd3 7OxjiuQankbbYYBBlFd5YCoJpr7IIE6kzn+L0myvr6w3kCWJBbn9GFjrCMepl1bXpzPEYp z/sEh3mrCk7XnZTxSHEi52UI39crrsp+MlEgX7/TvMUepjt1zVKV+7v2WwTzUA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from hydra.lemis.com (121-200-11-253.79c80b.mel.nbn.aussiebb.net [121.200.11.253]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: grog/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4YSYpV6R2lzGQt; Wed, 08 Jan 2025 03:50:09 +0000 (UTC) (envelope-from grog@freebsd.org) Date: Wed, 8 Jan 2025 14:50:04 +1100 From: Greg 'groggy' Lehey To: Matt Timpson Cc: "freebsd-questions@FreeBSD.org" Subject: Re: Do you know any resources for rewriting raw binary into assembly code? Message-ID: References: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1izcypH/AO5tsfxP" Content-Disposition: inline In-Reply-To: Organization: The FreeBSD Project Phone: +61-3-5309-0418 Mobile: +61-490-494-038. Use only as instructed. WWW-Home-Page: https://www.FreeBSD X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 --1izcypH/AO5tsfxP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wednesday, 8 January 2025 at 3:30:36 +0000, Matt Timpson wrote: > > I know this goes beyond what most people ought to know, but I ask > just for the sake of completeness. A lot depends on what you want to do, and it's not quite clear. If your "raw binary" is really machine code, then most debuggers have a way of disassembling code and converting it to assembler. There are probably more comfortable methods; a search for " disassembler" will certainly bring results. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html Sent from my desktop computer. See complete headers for address and phone numbers. This message is digitally signed. If your Microsoft mail program reports problems, please read http://lemis.com/broken-MUA.php --1izcypH/AO5tsfxP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSaG4ICvM64RvkvCawi5vKQUHpCIwUCZ3317AAKCRAi5vKQUHpC I7ZeAKCA0GEM1ipTvK2/fQk63rzH78OX/QCcCYjiDCyyX1EOD/YKg3iI3Yaf8fE= =xCjX -----END PGP SIGNATURE----- --1izcypH/AO5tsfxP--