From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@9fans.net From: erik quanstrom Date: Fri, 2 May 2008 07:20:00 -0400 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Disassembler? Topicbox-Message-UUID: 9cc96d64-ead3-11e9-9d60-3106f5b1d025 > Hi, > > Is there a tool available which can convert plan 9 a.out executables > to plan 9 assembly code? I'd like to know how the C compiler stores > arguments for a system call on the stack for x86. > > 8c -S does not help, since all it displays is: `call print', instead > of what instructions are actually executed when print is called. > > Regards, > Anant if i understand you correctly, that's because print is in a library and is called not inline. you can use acid on the executable to asm(print) which disassembles code starting at print. - erik