From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Tue, 27 May 2014 17:33:48 -0400 To: 9fans@9fans.net Message-ID: In-Reply-To: <20140527213018.GQ3763@iota.offblast.org> References: <20140527201016.GP3763@iota.offblast.org> <0e05f8946ce2cff4a4ad7d2e044b984d@ladd.quanstro.net> <20140527213018.GQ3763@iota.offblast.org> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] 8l -e Topicbox-Message-UUID: f2f83fe4-ead8-11e9-9d60-3106f5b1d025 > ok. i'm beginning to understand better. is there a specific use case, > such as the kernel or userland? > > i didn't see anything like a tool that could poke nops into the right > places. i started to write an acid function to put the nops in one > named function, and then i realized that the ret can appear several > times in one function and i would need to search for and patch them > out. but only the *first* ret, not second, e.g.: this tool was ment for use with the kernel. there is a devtrace in 9atom's pc and pcpae kernels that does this. ron wrote a paper for the first athens, ga iwp9. i don't remember the year. 2009? - erik