Date: Mon, 27 Apr 1998 11:06:58 +0200 From: erakupa@kk.etx.ericsson.se (ETX-B-SL Martti Kuparinen) To: hackers@FreeBSD.ORG Subject: how to get number of instructions in a prg Message-ID: <199804270906.LAA08665@kk662.kk.etx.ericsson.se>
next in thread | raw e-mail | index | archive | help
What is the easiest way to count the number of assembler instructions in a program? In gdb there is the "disassemble function-name" command, but it disassembles only the given function. One could of course call this several times and each time count the lines, but since a program can have several hundred small sub-functions, this method is not the best... Thanks in advance, Martti 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?199804270906.LAA08665>