Date: Thu, 21 Mar 2002 10:44:02 +0100 From: Poul-Henning Kamp <phk@freebsd.org> To: hackers@freebsd.org Subject: C-struct dismantling tool... Message-ID: <1510.1016703842@critter.freebsd.dk>
next in thread | raw e-mail | index | archive | help
Does anyone know of an existing tool which for a given C struct can output a list of elements, their types, size and byteoffset ? I have considered parsing the information out of .stabs records from "gcc -g" output, but if an existing tool already exists that would save me quite some time. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1510.1016703842>