mirror of
https://github.com/wavestone-cdt/EDRSandblast.git
synced 2026-06-08 16:37:12 +00:00
various cosmetic changes to please the code analyzer
This commit is contained in:
@@ -65,5 +65,6 @@ WriteKernelMemoryType(DWORD);
|
||||
WriteKernelMemoryType(DWORD64);
|
||||
|
||||
BOOL TestReadPrimitive() {
|
||||
return ReadKernelMemoryWORD(0) == *(WORD*)"MZ";
|
||||
WORD startWord = ReadKernelMemoryWORD(0);
|
||||
return ((startWord & 0xFF) == 'M') && ((startWord >> 8) == 'Z');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user