_chkesp.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

_chkesp (MSVCRT.@)

SYNOPSIS


 _chkesp
 (
  _                                                chkesp,
  "jnz 1ft" "ret "1: pushl %ebpt" "movl %esp, %ebpt" "subl $12%espt" "pushl %eaxt" "pushl %ecxt" "pushl %edxt" "call " __ASM_NAME("MSVCRT_chkesp_fail" )

DESCRIPTION

Trap to a debugger if the value of the stack pointer has changed.

PARAMS

None.

RETURNS

Does not return.

NOTES

This function is available for iX86 only.

When VC++ generates debug code, it stores the value of the stack pointer before calling any external function, and checks the value following the call. It then calls this function, which will trap if the values are not the same. Usually this means that the prototype used to call the function is incorrect. It can also mean that the .spec entry has the wrong calling convention or parameters.

IMPLEMENTATION

Not defined in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in "dlls/msvcrt/misc.c".

Available on x86 platforms only.

Debug channel "msvcrt".