diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2014-12-08 18:31:11 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2014-12-11 18:31:27 +0100 |
commit | 84a279a83ff32eb31203a6c876ff26d009da4dec (patch) | |
tree | 95f292781980c6287939741425d840c656d8133a /src/Common | |
parent | 9a6b371c96dea8b82d915c2ce2ac7e621d029e0f (diff) | |
download | VeraCrypt-84a279a83ff32eb31203a6c876ff26d009da4dec.tar.gz VeraCrypt-84a279a83ff32eb31203a6c876ff26d009da4dec.zip |
Windows Driver: change inherited TrueCrypt constants in kernel objects tags by VeraCrypt specific values. These are used in crash dumps analysis and during debugging.
Diffstat (limited to 'src/Common')
-rw-r--r-- | src/Common/Tcdefs.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 <ntddk.h> /* Standard header file for nt drivers */
#include <ntdddisk.h> /* 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
|