summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
75c6300)
Fix a typo, remove a spare int 3, add file headers with BSD license
svn path=/trunk/; revision=64758
+/*
+ * PROJECT: MSVC runtime check support library
+ * LICENSE: BSD - See COPYING.ARM in the top level directory
+ * PURPOSE: Provides support functions for MSVC runtime checks
+ * PROGRAMMER: Timo Kreuzer (timo.kreuzer@reactos.org)
+ */
push dword ptr [esp + 4] // retaddr
call __RTC_Failure
add esp, 8
push dword ptr [esp + 4] // retaddr
call __RTC_Failure
add esp, 8
+/*
+ * PROJECT: MSVC runtime check support library
+ * LICENSE: BSD - See COPYING.ARM in the top level directory
+ * PURPOSE: Provides support functions for MSVC runtime checks
+ * PROGRAMMER: Timo Kreuzer (timo.kreuzer@reactos.org)
+ */
guard2 = (int*)((char*)_Esp + _Fd->variables[i].addr +_Fd->variables[i].size);
/* Check if they contain the guard bytes */
guard2 = (int*)((char*)_Esp + _Fd->variables[i].addr +_Fd->variables[i].size);
/* Check if they contain the guard bytes */
- if ((*guard1 != 0xCCCCCCCC) || (*guard1 != 0xCCCCCCCC))
+ if ((*guard1 != 0xCCCCCCCC) || (*guard2 != 0xCCCCCCCC))
{
DbgPrint("Stack corruption near '%s'\n", _Fd->variables[i].name);
__debugbreak();
{
DbgPrint("Stack corruption near '%s'\n", _Fd->variables[i].name);
__debugbreak();