|
From: Duncan S. <bal...@fr...> - 2005-05-19 13:29:10
|
On Thu, 2005-05-19 at 14:16 +0100, Julian Seward wrote: > > How do you know how big the code is? > > what code? [unclear what you're referring to] The code you're taking the CRC of. For example, in the case of a trampoline, you have a pointer to a 10 byte long instruction sequence on the stack. You want to calculate a CRC of these 10 bytes and store them somewhere. How do you know it is 10 bytes long? Or were you planning to do a CRC of some fixed length that seems big enough to cover most cases? But maybe I misunderstood... All the best, Duncan. |