ReactOS  0.4.14-dev-49-gfb4591c
appverifier.c
Go to the documentation of this file.
1 /*
2  * PROJECT: ReactOS Runtime Library
3  * LICENSE: BSD - See COPYING.ARM in the top level directory
4  * FILE: lib/rtl/appverifier.c
5  * PURPOSE: RTL Application Verifier Routines
6  * PROGRAMMERS: Thomas Faber <thomas.faber@reactos.org>
7  */
8 
9 /* INCLUDES *****************************************************************/
10 
11 #include <rtl.h>
12 
13 #define NDEBUG
14 #include <debug.h>
15 
16 /* FUNCTIONS ***************************************************************/
17 
18 /*
19  * @implemented
20  */
21 VOID
22 NTAPI
26  _In_ PVOID Value1,
27  _In_ PCSTR Description1,
28  _In_ PVOID Value2,
29  _In_ PCSTR Description2,
30  _In_ PVOID Value3,
31  _In_ PCSTR Description3,
32  _In_ PVOID Value4,
33  _In_ PCSTR Description4)
34 {
35  PTEB Teb = NtCurrentTeb();
36 
37  DbgPrint("**************************************************\n");
38  DbgPrint("VERIFIER STOP %08Ix: pid %04Ix: %s\n",
40  DbgPrint(" %p : %s\n", Value1, Description1);
41  DbgPrint(" %p : %s\n", Value2, Description2);
42  DbgPrint(" %p : %s\n", Value3, Description3);
43  DbgPrint(" %p : %s\n", Value4, Description4);
44  DbgPrint("**************************************************\n");
45  DbgBreakPoint();
46 }
#define DbgPrint
Definition: loader.c:25
VOID NTAPI RtlApplicationVerifierStop(_In_ ULONG_PTR Code, _In_ PCSTR Message, _In_ PVOID Value1, _In_ PCSTR Description1, _In_ PVOID Value2, _In_ PCSTR Description2, _In_ PVOID Value3, _In_ PCSTR Description3, _In_ PVOID Value4, _In_ PCSTR Description4)
Definition: appverifier.c:23
HANDLE UniqueProcess
Definition: compat.h:474
void DbgBreakPoint()
Definition: mach.c:553
uint32_t ULONG_PTR
Definition: typedefs.h:63
CLIENT_ID ClientId
Definition: compat.h:488
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
#define Code
Definition: deflate.h:80
CHAR Message[80]
Definition: alive.c:5
#define _In_
Definition: no_sal2.h:204
Definition: compat.h:484
FORCEINLINE struct _TEB * NtCurrentTeb(VOID)
Definition: psfuncs.h:420
const char * PCSTR
Definition: typedefs.h:51