February 01, 2003
Avoiding the Visual C++ Runtime Library
Listing 9 Raising an int 3
void __declspec(naked) __cdecl _chkesp(void)
{
_asm { jz esp_okay };
_asm { int 3 };
esp_okay:
_asm { ret };
}
|
|
||||||||||||||||||||||||||||
|
|