From 84a279a83ff32eb31203a6c876ff26d009da4dec Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Mon, 8 Dec 2014 18:31:11 +0100 Subject: Windows Driver: change inherited TrueCrypt constants in kernel objects tags by VeraCrypt specific values. These are used in crash dumps analysis and during debugging. --- src/Common/Tcdefs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Common/Tcdefs.h') diff --git a/src/Common/Tcdefs.h b/src/Common/Tcdefs.h index 99b13769..327f6198 100644 --- a/src/Common/Tcdefs.h +++ b/src/Common/Tcdefs.h @@ -123,7 +123,7 @@ void ThrowFatalException (int line); # define TC_THROW_FATAL_EXCEPTION ThrowFatalException (__LINE__) #elif defined (TC_WINDOWS_DRIVER) -# define TC_THROW_FATAL_EXCEPTION KeBugCheckEx (SECURITY_SYSTEM, __LINE__, 0, 0, 'TC') +# define TC_THROW_FATAL_EXCEPTION KeBugCheckEx (SECURITY_SYSTEM, __LINE__, 0, 0, 'VC') #else # define TC_THROW_FATAL_EXCEPTION *(char *) 0 = 0 #endif @@ -134,8 +134,8 @@ void ThrowFatalException (int line); #include /* Standard header file for nt drivers */ #include /* Standard I/O control codes */ -#define TCalloc(size) ((void *) ExAllocatePoolWithTag( NonPagedPool, size, 'MMCT' )) -#define TCfree(memblock) ExFreePoolWithTag( memblock, 'MMCT' ) +#define TCalloc(size) ((void *) ExAllocatePoolWithTag( NonPagedPool, size, 'MMCV' )) +#define TCfree(memblock) ExFreePoolWithTag( memblock, 'MMCV' ) #define DEVICE_DRIVER -- cgit v1.2.3