You can view the full document by clicking here
From the table above it is possible to deduce the VAD structure type from both the VadType and PrivateMemory flags.
VadType flag |
PrivateMemory flag
|
Type
|
0
|
0
|
MMVAD
|
0
|
1
|
MMVAD_SHORT
|
1
|
1
|
MMVAD
|
2
|
0
|
MMVAD
|
3
|
1
|
MMVAD_ENCLAVE
|
To test it out, I wrote a kernel driver that prints the deduced VAD type for each node of calc.exe. It also prints the pool tag so we can check the result.