Re: Finding the architectures of a binary
Subject : Re: Finding the architectures of a binary
From: Iceberg-Dev <email@hidden >
Date: Mon, 10 Nov 2008 18:23:51 +0100
Delivered-to: email@hidden
Delivered-to: email@hidden
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:in-reply-to:references :mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; bh=dDha3Fe8m9zQT6sk1TlW2/1RUExnNRJoDx6VUhFBCcc=; b=sopLPB/pQrrPm9grVzq7xZvyxl3cQGmy+G+7MuA150yaXL25zJ9zFbY/OvQ3twt5iE nC4/hYRFS+bSITl1lj5Z97/SjmXexPe/x7XPR1uCz/gBIhEtff8lTXUaCGdDUoL9yoI+ ynaXu949HLFT8ArD6dw4mMYelOu1jHEQezKxo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:content-type:message-id:cc :content-transfer-encoding:from:subject:date:to:x-mailer; b=rdDt/UA+v4iK4t54IR5nvgN6EIpmAzWU6pzXtZ6jkLCx70XKwbPmdzXgWyhJrsupru smk8+CLFRFK9aRraeA99e0U60F4s5PGVnqLSXqaflQwRVA/kc70/6DBQrFFPX+9Zl/NP SaXkYBx1rIsNUzIdLq+VQPuiQJbAo5fifHrOE=
On Nov 10, 2008, at 4:08 PM, Finlay Dobbie wrote:
On Mon, Nov 10, 2008 at 1:49 PM, Iceberg-Dev
<email@hidden> wrote:
On Nov 10, 2008, at 11:47 AM, Alexander von Below wrote:
Addintonally, the source for both file (1) and lipo (1) should be
open
source and give you valuable hints.
file is open source (found it in Darwin). lipo is apparently not
(I have not
been able to find it).
http://www.opensource.apple.com/darwinsource/10.5.5/cctools-667.3/
misc/lipo.c
Thanks.
Is it supoosed to be up-to-date and 64-bit compatible?
I'm asking because for instance, this line looks suspicious:
(*((unsigned long *)addr) == MH_MAGIC ||
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.