From owner-freebsd-hackers Thu Mar 21 13: 0:51 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id 4AA4A37B421; Thu, 21 Mar 2002 13:00:24 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020321210023.FRGI2626.rwcrmhc51.attbi.com@InterJet.elischer.org>; Thu, 21 Mar 2002 21:00:23 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id MAA17724; Thu, 21 Mar 2002 12:57:37 -0800 (PST) Date: Thu, 21 Mar 2002 12:57:37 -0800 (PST) From: Julian Elischer To: John Polstra Cc: hackers@freebsd.org, phk@freebsd.org Subject: Re: C-struct dismantling tool... In-Reply-To: <200203211615.g2LGFL205863@vashon.polstra.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 21 Mar 2002, John Polstra wrote: > > I thought about the .stabs approach too, and thought it seemed > promising. Even better might be to use -gdwarf -g3, which in theory > at least would provide information about #defines. > > For well-behaved structs, it's possible that rpcgen could be hacked up > to do what you want. Sounds like a job for an objdump mutant. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message