|
|
|
|
|
by mschuster91
3588 days ago
|
|
I'm a bit skeptical about the performance, especially with often-called functions. Normally, asm would do call slow_hash
at every place where slow_hash is invoked, but now it has to check at every invocation a pointer with the address of the function.Of course the loader could walk through all uses of the pointer to slow_hash and replace them by fast_hash on loading, but that won't work for selfmodifying (packed, or RE-protected) code. |
|