From 3d57369a014dc26d87644529da644aebb4af69b8 Mon Sep 17 00:00:00 2001 From: blindtiger Date: Wed, 11 Aug 2021 03:59:21 +0800 Subject: [PATCH] 08/11/2021 Wed 3:59 --- .gitattributes | 2 + Include/Defs.h | 2 +- Include/DeviceDefs.h | 2 +- Include/Warning.h | 2 +- Include/dump.h | 2 +- Include/guarddefs.h | 2 +- Include/listdefs.h | 2 +- Include/statusdefs.h | 2 +- Include/typesdefs.h | 2 +- Include/ver.h | 2 +- Include/wow64.h | 2 +- Projects/Sea/AMD64/AMD64.asm | 2 +- Projects/Sea/I386/I386.asm | 2 +- Projects/Sea/Makefile | 2 +- Projects/Sea/Sea.c | 2 +- Projects/Sea/Sea.def | 2 +- Projects/Sea/Sea.h | 2 +- Projects/Sea/Sea.rc | 2 +- Projects/Sea/Sysload.c | 2 +- Projects/Sea/Sysload.h | 2 +- Projects/Shark/AMD64/AMD64.asm | 2 +- Projects/Shark/AMD64/CmpAMD64.asm | 2 +- Projects/Shark/AMD64/ContextAMD64.asm | 2 +- Projects/Shark/AMD64/PatchGuardAMD64.c | 278 +++++++++++++------------ Projects/Shark/AMD64/SpaceAMD64.c | 2 +- Projects/Shark/AMD64/StackAMD64.c | 2 +- Projects/Shark/Ctx.c | 2 +- Projects/Shark/Ctx.h | 2 +- Projects/Shark/Except.c | 2 +- Projects/Shark/Except.h | 2 +- Projects/Shark/Guard.c | 2 +- Projects/Shark/Guard.h | 2 +- Projects/Shark/I386/CmpI386.asm | 2 +- Projects/Shark/I386/ContextI386.asm | 2 +- Projects/Shark/I386/I386.asm | 2 +- Projects/Shark/I386/PatchGuardI386.c | 2 +- Projects/Shark/I386/SpaceI386.c | 2 +- Projects/Shark/I386/StackI386.c | 2 +- Projects/Shark/Makefile | 2 +- Projects/Shark/PatchGuard.c | 2 +- Projects/Shark/PatchGuard.h | 14 +- Projects/Shark/Reload.c | 2 +- Projects/Shark/Reload.h | 2 +- Projects/Shark/Rtx.c | 2 +- Projects/Shark/Rtx.h | 2 +- Projects/Shark/Scan.c | 2 +- Projects/Shark/Scan.h | 2 +- Projects/Shark/Shark.c | 2 +- Projects/Shark/Shark.def | 2 +- Projects/Shark/Shark.h | 2 +- Projects/Shark/Shark.rc | 2 +- Projects/Shark/Space.c | 2 +- Projects/Shark/Space.h | 2 +- Projects/Shark/Stack.c | 2 +- Projects/Shark/Stack.h | 2 +- Push.ps1 | 23 -- Shark.v12.suo | Bin 10752 -> 19968 bytes build.cmd | 2 +- 58 files changed, 202 insertions(+), 221 deletions(-) create mode 100644 .gitattributes delete mode 100644 Push.ps1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..5823272 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Specify filepatterns you want to assign special attributes. + diff --git a/Include/Defs.h b/Include/Defs.h index cbce197..4bb0cda 100644 --- a/Include/Defs.h +++ b/Include/Defs.h @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Include/DeviceDefs.h b/Include/DeviceDefs.h index f83f78c..6e858b1 100644 --- a/Include/DeviceDefs.h +++ b/Include/DeviceDefs.h @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Include/Warning.h b/Include/Warning.h index 96a8e2a..99d24b6 100644 --- a/Include/Warning.h +++ b/Include/Warning.h @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Include/dump.h b/Include/dump.h index cbf625f..686ce21 100644 --- a/Include/dump.h +++ b/Include/dump.h @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Include/guarddefs.h b/Include/guarddefs.h index 09a7d76..b2e8495 100644 --- a/Include/guarddefs.h +++ b/Include/guarddefs.h @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Include/listdefs.h b/Include/listdefs.h index 38572b4..cd68f30 100644 --- a/Include/listdefs.h +++ b/Include/listdefs.h @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Include/statusdefs.h b/Include/statusdefs.h index 22b4182..4d954b5 100644 --- a/Include/statusdefs.h +++ b/Include/statusdefs.h @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Include/typesdefs.h b/Include/typesdefs.h index d83e64e..3dd22e6 100644 --- a/Include/typesdefs.h +++ b/Include/typesdefs.h @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Include/ver.h b/Include/ver.h index 069fdc3..2fc8de4 100644 --- a/Include/ver.h +++ b/Include/ver.h @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Include/wow64.h b/Include/wow64.h index 2d74bff..7a42b7c 100644 --- a/Include/wow64.h +++ b/Include/wow64.h @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Projects/Sea/AMD64/AMD64.asm b/Projects/Sea/AMD64/AMD64.asm index 75a1e34..ebd0436 100644 --- a/Projects/Sea/AMD64/AMD64.asm +++ b/Projects/Sea/AMD64/AMD64.asm @@ -12,7 +12,7 @@ ; for the specific language governing rights and limitations under the ; License. ; -; The Initial Developer of the Original e is blindtiger. +; The Initial Developer of the Original Code is blindtiger. ; ; diff --git a/Projects/Sea/I386/I386.asm b/Projects/Sea/I386/I386.asm index fd7e3ce..ee0e190 100644 --- a/Projects/Sea/I386/I386.asm +++ b/Projects/Sea/I386/I386.asm @@ -12,7 +12,7 @@ ; for the specific language governing rights and limitations under the ; License. ; -; The Initial Developer of the Original e is blindtiger. +; The Initial Developer of the Original Code is blindtiger. ; ; diff --git a/Projects/Sea/Makefile b/Projects/Sea/Makefile index dce9a0d..59e35f2 100644 --- a/Projects/Sea/Makefile +++ b/Projects/Sea/Makefile @@ -12,7 +12,7 @@ # for the specific language governing rights and limitations under the # License. # -# The Initial Developer of the Original e is blindtiger. +# The Initial Developer of the Original Code is blindtiger. # # diff --git a/Projects/Sea/Sea.c b/Projects/Sea/Sea.c index 584c0d7..0f22eca 100644 --- a/Projects/Sea/Sea.c +++ b/Projects/Sea/Sea.c @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Projects/Sea/Sea.def b/Projects/Sea/Sea.def index 6d4f663..8989ec6 100644 --- a/Projects/Sea/Sea.def +++ b/Projects/Sea/Sea.def @@ -12,7 +12,7 @@ ; for the specific language governing rights and limitations under the ; License. ; -; The Initial Developer of the Original e is blindtiger. +; The Initial Developer of the Original Code is blindtiger. ; ; diff --git a/Projects/Sea/Sea.h b/Projects/Sea/Sea.h index 8ef5a3e..37b63b8 100644 --- a/Projects/Sea/Sea.h +++ b/Projects/Sea/Sea.h @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Projects/Sea/Sea.rc b/Projects/Sea/Sea.rc index 7a1a2af..48e79b1 100644 --- a/Projects/Sea/Sea.rc +++ b/Projects/Sea/Sea.rc @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Projects/Sea/Sysload.c b/Projects/Sea/Sysload.c index 287c9cf..1560277 100644 --- a/Projects/Sea/Sysload.c +++ b/Projects/Sea/Sysload.c @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Projects/Sea/Sysload.h b/Projects/Sea/Sysload.h index 617d384..09f7985 100644 --- a/Projects/Sea/Sysload.h +++ b/Projects/Sea/Sysload.h @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Projects/Shark/AMD64/AMD64.asm b/Projects/Shark/AMD64/AMD64.asm index 75e7409..7c8605e 100644 --- a/Projects/Shark/AMD64/AMD64.asm +++ b/Projects/Shark/AMD64/AMD64.asm @@ -12,7 +12,7 @@ ; for the specific language governing rights and limitations under the ; License. ; -; The Initial Developer of the Original e is blindtiger. +; The Initial Developer of the Original Code is blindtiger. ; ; diff --git a/Projects/Shark/AMD64/CmpAMD64.asm b/Projects/Shark/AMD64/CmpAMD64.asm index 472dc28..c53ac08 100644 --- a/Projects/Shark/AMD64/CmpAMD64.asm +++ b/Projects/Shark/AMD64/CmpAMD64.asm @@ -12,7 +12,7 @@ ; for the specific language governing rights and limitations under the ; License. ; -; The Initial Developer of the Original e is blindtiger. +; The Initial Developer of the Original Code is blindtiger. ; ; diff --git a/Projects/Shark/AMD64/ContextAMD64.asm b/Projects/Shark/AMD64/ContextAMD64.asm index de63855..3d004be 100644 --- a/Projects/Shark/AMD64/ContextAMD64.asm +++ b/Projects/Shark/AMD64/ContextAMD64.asm @@ -12,7 +12,7 @@ ; for the specific language governing rights and limitations under the ; License. ; -; The Initial Developer of the Original e is blindtiger. +; The Initial Developer of the Original Code is blindtiger. ; ; diff --git a/Projects/Shark/AMD64/PatchGuardAMD64.c b/Projects/Shark/AMD64/PatchGuardAMD64.c index b5d4b2d..fc3dfbf 100644 --- a/Projects/Shark/AMD64/PatchGuardAMD64.c +++ b/Projects/Shark/AMD64/PatchGuardAMD64.c @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ @@ -501,14 +501,14 @@ InitializePgBlock( }; cptr ClearMessage[3] = { - "[SHARK] < %p > declassified context cleared\n", - "[SHARK] < %p > encrypted context cleared\n", - "[SHARK] < %p > double encrypted context cleared\n" + "[Shark] < %p > declassified context cleared\n", + "[Shark] < %p > encrypted context cleared\n", + "[Shark] < %p > double encrypted context cleared\n" }; #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > PgBlock\n", + "[Shark] < %p > PgBlock\n", PgBlock); #endif // DEBUG @@ -588,7 +588,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > SizeCmpAppendDllSection\n", + "[Shark] < %p > SizeCmpAppendDllSection\n", PgBlock->SizeCmpAppendDllSection); #endif // DEBUG @@ -600,7 +600,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > BtcEnable\n", + "[Shark] < %p > BtcEnable\n", PgBlock->BtcEnable); #endif // DEBUG } @@ -621,7 +621,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > OriginalCmpAppendDllSection\n", + "[Shark] < %p > OriginalCmpAppendDllSection\n", PgBlock->OriginalCmpAppendDllSection); #endif // DEBUG } @@ -635,7 +635,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > OffsetEntryPoint\n", + "[Shark] < %p > OffsetEntryPoint\n", PgBlock->OffsetEntryPoint); #endif // DEBUG break; @@ -680,7 +680,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > SizeINITKDBG\n", + "[Shark] < %p > SizeINITKDBG\n", PgBlock->SizeINITKDBG); #endif // DEBUG @@ -693,7 +693,7 @@ InitializePgBlock( PgBlock->SizeINITKDBG); #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > INITKDBG\n", + "[Shark] < %p > INITKDBG\n", PgBlock->INITKDBG); #endif // DEBUG } @@ -720,7 +720,7 @@ InitializePgBlock( #ifdef DEBUG FindAndPrintSymbol( - "[SHARK]", + "[Shark]", (ptr)PgBlock->Fields[0]); #endif // DEBUG @@ -729,7 +729,7 @@ InitializePgBlock( #ifdef DEBUG FindAndPrintSymbol( - "[SHARK]", + "[Shark]", (ptr)PgBlock->Fields[1]); #endif // DEBUG @@ -738,7 +738,7 @@ InitializePgBlock( #ifdef DEBUG FindAndPrintSymbol( - "[SHARK]", + "[Shark]", (ptr)PgBlock->Fields[2]); #endif // DEBUG @@ -747,7 +747,7 @@ InitializePgBlock( #ifdef DEBUG FindAndPrintSymbol( - "[SHARK]", + "[Shark]", (ptr)PgBlock->Fields[3]); #endif // DEBUG @@ -773,7 +773,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > MmAllocateIndependentPages\n", + "[Shark] < %p > MmAllocateIndependentPages\n", PgBlock->MmAllocateIndependentPages); #endif // DEBUG } @@ -787,7 +787,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > MmFreeIndependentPages\n", + "[Shark] < %p > MmFreeIndependentPages\n", PgBlock->MmFreeIndependentPages); #endif // DEBUG @@ -800,7 +800,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > MmSetPageProtection\n", + "[Shark] < %p > MmSetPageProtection\n", PgBlock->MmSetPageProtection); #endif // DEBUG @@ -830,7 +830,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > PsInvertedFunctionTable\n", + "[Shark] < %p > PsInvertedFunctionTable\n", GetGpBlock(PgBlock)->PsInvertedFunctionTable); #endif // DEBUG @@ -851,7 +851,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > BranchKey[10]\n", + "[Shark] < %p > BranchKey[10]\n", PgBlock->BranchKey[10]); #endif // DEBUG } @@ -869,7 +869,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > BranchKey[0]\n", + "[Shark] < %p > BranchKey[0]\n", PgBlock->BranchKey[0]); #endif // DEBUG @@ -878,7 +878,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > BranchKey[1]\n", + "[Shark] < %p > BranchKey[1]\n", PgBlock->BranchKey[1]); #endif // DEBUG @@ -887,7 +887,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > BranchKey[2]\n", + "[Shark] < %p > BranchKey[2]\n", PgBlock->BranchKey[2]); #endif // DEBUG @@ -896,7 +896,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > BranchKey[3]\n", + "[Shark] < %p > BranchKey[3]\n", PgBlock->BranchKey[3]); #endif // DEBUG @@ -904,7 +904,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > BranchKey[4]\n", + "[Shark] < %p > BranchKey[4]\n", PgBlock->BranchKey[4]); #endif // DEBUG @@ -913,7 +913,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > BranchKey[5]\n", + "[Shark] < %p > BranchKey[5]\n", PgBlock->BranchKey[5]); #endif // DEBUG @@ -925,7 +925,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > BranchKey[6]\n", + "[Shark] < %p > BranchKey[6]\n", PgBlock->BranchKey[6]); #endif // DEBUG @@ -934,7 +934,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > BranchKey[7]\n", + "[Shark] < %p > BranchKey[7]\n", PgBlock->BranchKey[7]); #endif // DEBUG @@ -943,7 +943,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > BranchKey[8]\n", + "[Shark] < %p > BranchKey[8]\n", PgBlock->BranchKey[8]); #endif // DEBUG @@ -952,7 +952,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > BranchKey[9]\n", + "[Shark] < %p > BranchKey[9]\n", PgBlock->BranchKey[9]); #endif // DEBUG } @@ -967,7 +967,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > BranchKey[11]\n", + "[Shark] < %p > BranchKey[11]\n", PgBlock->BranchKey[11]); #endif // DEBUG } @@ -995,7 +995,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > KiStartSystemThread\n", + "[Shark] < %p > KiStartSystemThread\n", PgBlock->KiStartSystemThread); #endif // DEBUG } @@ -1020,7 +1020,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > PspSystemThreadStartup\n", + "[Shark] < %p > PspSystemThreadStartup\n", PgBlock->PspSystemThreadStartup); #endif // DEBUG } @@ -1060,7 +1060,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > KiWaitNever\n", + "[Shark] < %p > KiWaitNever\n", PgBlock->KiWaitNever); #endif // DEBUG } @@ -1069,7 +1069,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > KiWaitAlways\n", + "[Shark] < %p > KiWaitAlways\n", PgBlock->KiWaitAlways); #endif // DEBUG @@ -1090,7 +1090,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > MmIsNonPagedSystemAddressValid\n", + "[Shark] < %p > MmIsNonPagedSystemAddressValid\n", PgBlock->Pool.MmIsNonPagedSystemAddressValid); #endif // DEBUG @@ -1124,7 +1124,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > MiGetSystemRegionType\n", + "[Shark] < %p > MiGetSystemRegionType\n", PgBlock->MiGetSystemRegionType); #endif // DEBUG } @@ -1163,7 +1163,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > PoolBigPageTable\n", + "[Shark] < %p > PoolBigPageTable\n", PgBlock->Pool.PoolBigPageTable); #endif // DEBUG @@ -1174,7 +1174,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > PoolBigPageTableSize\n", + "[Shark] < %p > PoolBigPageTableSize\n", PgBlock->Pool.PoolBigPageTableSize); #endif // DEBUG } @@ -1214,7 +1214,7 @@ InitializePgBlock( PgBlock->SystemPtes.NumberOfPtes = BitMap->SizeOfBitMap * 8; #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > NumberOfPtes\n", + "[Shark] < %p > NumberOfPtes\n", PgBlock->SystemPtes.NumberOfPtes); #endif // DEBUG @@ -1228,7 +1228,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > BasePte\n", + "[Shark] < %p > BasePte\n", PgBlock->SystemPtes.BasePte); #endif // DEBUG @@ -1298,7 +1298,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > RtlLookupFunctionEntry\n", + "[Shark] < %p > RtlLookupFunctionEntry\n", PgBlock->RtlLookupFunctionEntry); #endif // DEBUG @@ -1308,7 +1308,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > RtlVirtualUnwind\n", + "[Shark] < %p > RtlVirtualUnwind\n", PgBlock->RtlVirtualUnwind); #endif // DEBUG @@ -1318,7 +1318,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > ExQueueWorkItem\n", + "[Shark] < %p > ExQueueWorkItem\n", PgBlock->ExQueueWorkItem); #endif // DEBUG @@ -1334,7 +1334,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > CaptureContext\n", + "[Shark] < %p > CaptureContext\n", PgBlock->CaptureContext); #endif // DEBUG @@ -1380,7 +1380,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > FreeWorker\n", + "[Shark] < %p > FreeWorker\n", PgBlock->FreeWorker); #endif // DEBUG @@ -1396,7 +1396,7 @@ InitializePgBlock( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > ClearCallback\n", + "[Shark] < %p > ClearCallback\n", PgBlock->ClearCallback); #endif // DEBUG } @@ -1446,96 +1446,94 @@ PgCreateObject( void NTAPI PgSetNewEntry( - __inout PPGBLOCK PgBlock, - __in PPGOBJECT Object, - __in ptr PatchGuardContext, - __in u64 RorKey +__inout PPGBLOCK PgBlock, +__in PPGOBJECT Object, +__in ptr PatchGuardContext, +__in u64 RorKey ) { - u64 LastRorKey = 0; - u32 RvaOfEntry = 0; - u64 FieldBuffer[PG_COMPARE_FIELDS_COUNT] = { 0 }; - u32 FieldIndex = 0; - u32 Index = 0; - ptr Pointer = NULL; + u64 LastRorKey = 0; + u32 RvaOfEntry = 0; + u64 FieldBuffer[PG_COMPARE_FIELDS_COUNT] = { 0 }; + u32 FieldIndex = 0; + u32 Index = 0; + ptr Pointer = NULL; - // xor code must be align 8 byte; - // get PatchGuard entry offset in encrypted code + // xor code must be align 8 byte; + // get PatchGuard entry offset in encrypted code - FieldIndex = (PgBlock->OffsetEntryPoint - - PgBlock->SizeCmpAppendDllSection) / sizeof(u64); + FieldIndex = (PgBlock->OffsetEntryPoint - + PgBlock->SizeCmpAppendDllSection) / sizeof(u64); - RtlCopyMemory( - FieldBuffer, - (u8ptr)PatchGuardContext + ALIGN_DOWN(PgBlock->OffsetEntryPoint, u), - sizeof(FieldBuffer)); + RtlCopyMemory( + FieldBuffer, + (u8ptr)PatchGuardContext + (PgBlock->OffsetEntryPoint & ~7), + sizeof(FieldBuffer)); - LastRorKey = RorKey; + LastRorKey = RorKey; - for (Index = 0; - Index < FieldIndex; - Index++) { - LastRorKey = PgBlock->Rol64(LastRorKey, Index); - } + for (Index = 0; + Index < FieldIndex; + Index++) { + LastRorKey = PgBlock->Rol64(LastRorKey, Index); + } - for (Index = 0; - Index < RTL_NUMBER_OF(FieldBuffer); - Index++) { - LastRorKey = PgBlock->Rol64(LastRorKey, FieldIndex + Index); - FieldBuffer[Index] = FieldBuffer[Index] ^ LastRorKey; - } + for (Index = 0; + Index < RTL_NUMBER_OF(FieldBuffer); + Index++) { + LastRorKey = PgBlock->Rol64(LastRorKey, FieldIndex + Index); + FieldBuffer[Index] = FieldBuffer[Index] ^ LastRorKey; + } - RvaOfEntry = - *(u32ptr)((u8ptr)FieldBuffer - + ALIGN_DOWN(PgBlock->OffsetEntryPoint, u)); + RvaOfEntry = *(u32ptr)((u8ptr)FieldBuffer + (PgBlock->OffsetEntryPoint & 7)); - // copy PatchGuard entry head code to temp bufer and decode + // copy PatchGuard entry head code to temp bufer and decode - FieldIndex = (RvaOfEntry - PgBlock->SizeCmpAppendDllSection) / sizeof(u64); + FieldIndex = (RvaOfEntry - PgBlock->SizeCmpAppendDllSection) / sizeof(u64); - RtlCopyMemory( - FieldBuffer, - (u8ptr)PatchGuardContext + ALIGN_DOWN(RvaOfEntry, u), - sizeof(FieldBuffer)); + RtlCopyMemory( + FieldBuffer, + (u8ptr)PatchGuardContext + (RvaOfEntry & ~7), + sizeof(FieldBuffer)); - LastRorKey = RorKey; + LastRorKey = RorKey; - for (Index = 0; - Index < FieldIndex; - Index++) { - LastRorKey = PgBlock->Rol64(LastRorKey, Index); - } + for (Index = 0; + Index < FieldIndex; + Index++) { + LastRorKey = PgBlock->Rol64(LastRorKey, Index); + } - for (Index = 0; - Index < RTL_NUMBER_OF(FieldBuffer); - Index++) { - LastRorKey = PgBlock->Rol64(LastRorKey, FieldIndex + Index); - FieldBuffer[Index] = FieldBuffer[Index] ^ LastRorKey; - } + for (Index = 0; + Index < RTL_NUMBER_OF(FieldBuffer); + Index++) { + LastRorKey = PgBlock->Rol64(LastRorKey, FieldIndex + Index); + FieldBuffer[Index] = FieldBuffer[Index] ^ LastRorKey; + } - // set temp buffer PatchGuard entry head jmp to PgClearCallback and encrypt + // set temp buffer PatchGuard entry head jmp to PgClearCallback and encrypt - Pointer = (u8ptr)FieldBuffer + ALIGN_DOWN(RvaOfEntry, u); + Pointer = (u8ptr)FieldBuffer + (RvaOfEntry & 7); - BuildJumpCode(&Pointer, &Object->Body); + LockedBuildJumpCode(&Pointer, &Object->Body); - while (Index--) { - FieldBuffer[Index] = FieldBuffer[Index] ^ LastRorKey; - LastRorKey = PgBlock->Ror64(LastRorKey, FieldIndex + Index); - } + while (Index--) { + FieldBuffer[Index] = FieldBuffer[Index] ^ LastRorKey; + LastRorKey = PgBlock->Ror64(LastRorKey, FieldIndex + Index); + } - // copy temp buffer PatchGuard entry head to old address, - // when PatchGuard code decrypt self jmp PgClearCallback. + // copy temp buffer PatchGuard entry head to old address, + // when PatchGuard code decrypt self jmp PgClearCallback. - RtlCopyMemory( - (u8ptr)PatchGuardContext + ALIGN_DOWN(RvaOfEntry, u), - FieldBuffer, - sizeof(FieldBuffer)); + RtlCopyMemory( + (u8ptr)PatchGuardContext + (RvaOfEntry & ~7), + FieldBuffer, + sizeof(FieldBuffer)); #ifdef DEBUG - vDbgPrint( - "[SHARK] < %p > set new entry for encrypted context\n", - Object); + vDbgPrint( + "[Shark] < %p > set new entry for encrypted context\n", + Object); #endif // DEBUG } @@ -1614,7 +1612,7 @@ PgSetNewEntryWithBtc( if (0 == Index) { #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > entrypoint not found!\n", + "[Shark] < %p > entrypoint not found!\n", Object); #endif // DEBUG } @@ -1639,7 +1637,7 @@ PgSetNewEntryWithBtc( Pointer = (PGUARD_BODY)((u8ptr)FieldBuffer + sizeof(u) - AlignOffset); - BuildJumpCode(&Pointer, &Object->Body); + LockedBuildJumpCode(&Pointer, &Object->Body); RorKey = LastRorKey; Index = LastRorKeyOffset; @@ -1656,7 +1654,7 @@ PgSetNewEntryWithBtc( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > set new entry for btc encrypted context\n", + "[Shark] < %p > set new entry for btc encrypted context\n", Object); #endif // DEBUG } @@ -1880,14 +1878,14 @@ PgSetTimerNewEntry( Pointer = &Object->Context[2]; - BuildJumpCode(&Pointer, &Object->Body); + LockedBuildJumpCode(&Pointer, &Object->Body); Object->Context[2] ^= Object->Key; Object->Context[3] ^= Object->Key; #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > set new entry for double encrypted context\n", + "[Shark] < %p > set new entry for double encrypted context\n", Object); #endif // DEBUG @@ -2017,14 +2015,14 @@ PgSetBranchNewEntry( Pointer = &Object->Context[2]; - BuildJumpCode(&Pointer, &Object->Body); + LockedBuildJumpCode(&Pointer, &Object->Body); Object->Context[2] ^= Object->Key; Object->Context[3] ^= Object->Key; #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > set new entry for double encrypted context\n", + "[Shark] < %p > set new entry for double encrypted context\n", Object); #endif // DEBUG @@ -2211,7 +2209,7 @@ PgCompareFields( if (NULL != Object) { #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > found encrypted context < %p - %08x >\n", + "[Shark] < %p > found encrypted context < %p - %08x >\n", Object->Context, BaseAddress, RegionSize); @@ -2250,7 +2248,7 @@ PgCompareFields( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > found declassified context\n", + "[Shark] < %p > found declassified context\n", Context); #endif // DEBUG break; @@ -2280,7 +2278,7 @@ PgCompareFields( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > found encrypted context < %p - %08x >\n", + "[Shark] < %p > found encrypted context < %p - %08x >\n", Context, BaseAddress, RegionSize); @@ -2319,7 +2317,7 @@ PgCompareFields( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > first rorkey\n", + "[Shark] < %p > first rorkey\n", RorKey); #endif // DEBUG PgSetNewEntry(PgBlock, Object, Context, RorKey); @@ -2465,7 +2463,7 @@ PgClearSystemPtesEncryptedContext( #ifdef DEBUG if (0 == PgBlock->Repeat) { vDbgPrint( - "[SHARK] < %p > SystemPtes < %p - %p >\n", + "[Shark] < %p > SystemPtes < %p - %p >\n", KeGetCurrentProcessorNumber(), PgBlock->SystemPtes.BasePte, PgBlock->SystemPtes.BasePte + NumberOfPtes); @@ -2506,9 +2504,10 @@ PgClearSystemPtesEncryptedContext( if (StartingRunIndex - HintIndex >= BYTES_TO_PAGES(PgBlock->SizeINITKDBG)) { + /* #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > scan < %p - %08x > < %p, %p, %p, %p, ...>\n", + "[Shark] < %p > scan < %p - %08x > < %p, %p, %p, %p...>\n", KeGetCurrentProcessorNumber(), GetVaMappedByPte(PgBlock->SystemPtes.BasePte + HintIndex), (StartingRunIndex - HintIndex) * PAGE_SIZE, @@ -2517,6 +2516,7 @@ PgClearSystemPtesEncryptedContext( __rduptr(__ptou(GetVaMappedByPte(PgBlock->SystemPtes.BasePte + HintIndex)) + 0x10), __rduptr(__ptou(GetVaMappedByPte(PgBlock->SystemPtes.BasePte + HintIndex)) + 0x18)); #endif // DEBUG + */ PgCompareFields( PgBlock, @@ -2553,7 +2553,7 @@ PgClearPoolEncryptedContext( #ifdef DEBUG if (0 == PgBlock->Repeat) { vDbgPrint( - "[SHARK] < %p > BigPool < %p - %08x >\n", + "[Shark] < %p > BigPool < %p - %08x >\n", KeGetCurrentProcessorNumber(), *PgBlock->Pool.PoolBigPageTable, *PgBlock->Pool.PoolBigPageTableSize); @@ -2590,9 +2590,10 @@ PgClearPoolEncryptedContext( } } + /* #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > scan < %p - %08x > < %p, %p, %p, %p, ...>\n", + "[Shark] < %p > scan < %p - %08x > < %p, %p, %p, %p...>\n", KeGetCurrentProcessorNumber(), PAGE_ALIGN(PoolBigPage->Va), PoolBigPage->NumberOfPages, @@ -2601,6 +2602,7 @@ PgClearPoolEncryptedContext( __rduptr(__ptou(PAGE_ALIGN(PoolBigPage->Va)) + 0x10), __rduptr(__ptou(PAGE_ALIGN(PoolBigPage->Va)) + 0x18)); #endif // DEBUG + */ PgCompareFields( PgBlock, @@ -2651,7 +2653,7 @@ PgLocatePoolObject( #ifdef DEBUG GetGpBlock(PgBlock)->vDbgPrint( - "[SHARK] < %p > found region in pool < %p - %08x >\n", + "[Shark] < %p > found region in pool < %p - %08x >\n", Establisher, Object->BaseAddress, Object->RegionSize); @@ -2740,7 +2742,7 @@ PgLocateSystemPtesObject( } #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > found region in system ptes < %p - %08x >\n", + "[Shark] < %p > found region in system ptes < %p - %08x >\n", Establisher, Object->BaseAddress, Object->RegionSize); @@ -2914,7 +2916,7 @@ PgCheckAllWorkerThread( if (0 != Context->ContextRecord.Rip) { #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > found noimage return address in worker thread stack\n", + "[Shark] < %p > found noimage return address in worker thread stack\n", Context->ContextRecord.Rip); #endif // DEBUG @@ -2954,7 +2956,7 @@ PgCheckAllWorkerThread( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > insert worker thread check code\n", + "[Shark] < %p > insert worker thread check code\n", Object); #endif // DEBUG } @@ -3091,7 +3093,7 @@ PgClearWorker( #ifdef DEBUG vDbgPrint( - "[SHARK] < %p > OffsetSameThreadPassive\n", + "[Shark] < %p > OffsetSameThreadPassive\n", Context->PgBlock->OffsetSameThreadPassive); #endif // DEBUG @@ -3122,15 +3124,15 @@ PgClearWorker( NULL == Context->PgBlock->SystemPtes.BasePte || NULL == Context->PgBlock->MmAllocateIndependentPages || NULL == Context->PgBlock->MmFreeIndependentPages || - NULL == Context->PgBlock->MmSetPageProtection || - NULL == Context->PgBlock->KiWaitNever || - NULL == Context->PgBlock->KiWaitAlways) { + NULL == Context->PgBlock->MmSetPageProtection) { Chance = FALSE; } } if (GetGpBlock(Context->PgBlock)->BuildNumber >= 9600) { - if (0 == Context->PgBlock->WorkerContext) { + if (0 == Context->PgBlock->WorkerContext || + NULL == Context->PgBlock->KiWaitNever || + NULL == Context->PgBlock->KiWaitAlways) { Chance = FALSE; } } diff --git a/Projects/Shark/AMD64/SpaceAMD64.c b/Projects/Shark/AMD64/SpaceAMD64.c index 263c044..4c25db4 100644 --- a/Projects/Shark/AMD64/SpaceAMD64.c +++ b/Projects/Shark/AMD64/SpaceAMD64.c @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Projects/Shark/AMD64/StackAMD64.c b/Projects/Shark/AMD64/StackAMD64.c index 4b695b9..0e899f9 100644 --- a/Projects/Shark/AMD64/StackAMD64.c +++ b/Projects/Shark/AMD64/StackAMD64.c @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Projects/Shark/Ctx.c b/Projects/Shark/Ctx.c index ccf8355..e620fb9 100644 --- a/Projects/Shark/Ctx.c +++ b/Projects/Shark/Ctx.c @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Projects/Shark/Ctx.h b/Projects/Shark/Ctx.h index 965b14f..9d360a4 100644 --- a/Projects/Shark/Ctx.h +++ b/Projects/Shark/Ctx.h @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Projects/Shark/Except.c b/Projects/Shark/Except.c index c736323..9cd4694 100644 --- a/Projects/Shark/Except.c +++ b/Projects/Shark/Except.c @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Projects/Shark/Except.h b/Projects/Shark/Except.h index 7b2833e..8eac962 100644 --- a/Projects/Shark/Except.h +++ b/Projects/Shark/Except.h @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Projects/Shark/Guard.c b/Projects/Shark/Guard.c index 6d5d90e..d17784f 100644 --- a/Projects/Shark/Guard.c +++ b/Projects/Shark/Guard.c @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Projects/Shark/Guard.h b/Projects/Shark/Guard.h index b502e80..ad4e8a3 100644 --- a/Projects/Shark/Guard.h +++ b/Projects/Shark/Guard.h @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Projects/Shark/I386/CmpI386.asm b/Projects/Shark/I386/CmpI386.asm index c808bf9..18f3ec8 100644 --- a/Projects/Shark/I386/CmpI386.asm +++ b/Projects/Shark/I386/CmpI386.asm @@ -12,7 +12,7 @@ ; for the specific language governing rights and limitations under the ; License. ; -; The Initial Developer of the Original e is blindtiger. +; The Initial Developer of the Original Code is blindtiger. ; ; diff --git a/Projects/Shark/I386/ContextI386.asm b/Projects/Shark/I386/ContextI386.asm index da5add6..7a54409 100644 --- a/Projects/Shark/I386/ContextI386.asm +++ b/Projects/Shark/I386/ContextI386.asm @@ -12,7 +12,7 @@ ; for the specific language governing rights and limitations under the ; License. ; -; The Initial Developer of the Original e is blindtiger. +; The Initial Developer of the Original Code is blindtiger. ; ; diff --git a/Projects/Shark/I386/I386.asm b/Projects/Shark/I386/I386.asm index 076674f..2c650a3 100644 --- a/Projects/Shark/I386/I386.asm +++ b/Projects/Shark/I386/I386.asm @@ -12,7 +12,7 @@ ; for the specific language governing rights and limitations under the ; License. ; -; The Initial Developer of the Original e is blindtiger. +; The Initial Developer of the Original Code is blindtiger. ; ; diff --git a/Projects/Shark/I386/PatchGuardI386.c b/Projects/Shark/I386/PatchGuardI386.c index 60b6d93..4da630d 100644 --- a/Projects/Shark/I386/PatchGuardI386.c +++ b/Projects/Shark/I386/PatchGuardI386.c @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Projects/Shark/I386/SpaceI386.c b/Projects/Shark/I386/SpaceI386.c index 95f838e..3cdce5d 100644 --- a/Projects/Shark/I386/SpaceI386.c +++ b/Projects/Shark/I386/SpaceI386.c @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Projects/Shark/I386/StackI386.c b/Projects/Shark/I386/StackI386.c index 6c652bf..c967018 100644 --- a/Projects/Shark/I386/StackI386.c +++ b/Projects/Shark/I386/StackI386.c @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Projects/Shark/Makefile b/Projects/Shark/Makefile index db462c7..9d87e4b 100644 --- a/Projects/Shark/Makefile +++ b/Projects/Shark/Makefile @@ -12,7 +12,7 @@ # for the specific language governing rights and limitations under the # License. # -# The Initial Developer of the Original e is blindtiger. +# The Initial Developer of the Original Code is blindtiger. # # diff --git a/Projects/Shark/PatchGuard.c b/Projects/Shark/PatchGuard.c index 54bc9b8..33554eb 100644 --- a/Projects/Shark/PatchGuard.c +++ b/Projects/Shark/PatchGuard.c @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Projects/Shark/PatchGuard.h b/Projects/Shark/PatchGuard.h index a2a0bfe..4b2427e 100644 --- a/Projects/Shark/PatchGuard.h +++ b/Projects/Shark/PatchGuard.h @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ @@ -96,13 +96,13 @@ extern "C" { #define GetGpBlock(pgb) (pgb->GpBlock) -#define PG_MAXIMUM_CONTEXT_COUNT 0x00000003UI32 // ¿ÉÄÜ´æÔÚµÄ Context ×î´óÊýÁ¿ -#define PG_FIRST_FIELD_OFFSET 0x00000100UI32 // ËÑË÷ʹÓõĵÚÒ»¸ö Context ³ÉԱƫÒÆ -#define PG_CMP_APPEND_DLL_SECTION_END 0x000000c0UI32 // CmpAppendDllSection ³¤¶È -#define PG_COMPARE_FIELDS_COUNT 0x00000004UI32 // ËÑË÷ʱ±È½ÏµÄ Context ³ÉÔ±ÊýÁ¿ -#define PG_COMPARE_BYTE_COUNT 0x00000010UI32 // ËÑË÷ Worker ʱ±È½ÏµÄ×Ö½ÚÊýÁ¿ +#define PG_MAXIMUM_CONTEXT_COUNT 0x00000003UI32 // ���ܴ��ڵ� Context ������� +#define PG_FIRST_FIELD_OFFSET 0x00000100UI32 // ����ʹ�õĵ�һ�� Context ��Աƫ�� +#define PG_CMP_APPEND_DLL_SECTION_END 0x000000c0UI32 // CmpAppendDllSection ���� +#define PG_COMPARE_FIELDS_COUNT 0x00000004UI32 // ����ʱ�Ƚϵ� Context ��Ա���� +#define PG_COMPARE_BYTE_COUNT 0x00000010UI32 // ���� Worker ʱ�Ƚϵ��ֽ����� - // EntryPoint »º´æ´óС ÓÃÀ´ËÑË÷Í·²¿µÄ´úÂëƬ¶Î ( ×îС³¤¶È = max(2 * 8 + 7, sizeof(GUARD_BODY)) ) + // EntryPoint �����С ��������ͷ���Ĵ���Ƭ�� ( ������ = max(2 * 8 + 7, sizeof(GUARD_BODY)) ) #define PG_MAXIMUM_EP_BUFFER_COUNT ((max(2 * 8 + 7, sizeof(GUARD_BODY)) + 7) & ~7) #define PG_FIELD_BITS \ diff --git a/Projects/Shark/Reload.c b/Projects/Shark/Reload.c index 0ba73fe..9365c28 100644 --- a/Projects/Shark/Reload.c +++ b/Projects/Shark/Reload.c @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Projects/Shark/Reload.h b/Projects/Shark/Reload.h index 51ed140..8fd7215 100644 --- a/Projects/Shark/Reload.h +++ b/Projects/Shark/Reload.h @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Projects/Shark/Rtx.c b/Projects/Shark/Rtx.c index eb40cc8..a29dd6a 100644 --- a/Projects/Shark/Rtx.c +++ b/Projects/Shark/Rtx.c @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Projects/Shark/Rtx.h b/Projects/Shark/Rtx.h index 98fc82a..14e4a2b 100644 --- a/Projects/Shark/Rtx.h +++ b/Projects/Shark/Rtx.h @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Projects/Shark/Scan.c b/Projects/Shark/Scan.c index a97f13d..24c87e1 100644 --- a/Projects/Shark/Scan.c +++ b/Projects/Shark/Scan.c @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Projects/Shark/Scan.h b/Projects/Shark/Scan.h index 72c10d3..f211fd5 100644 --- a/Projects/Shark/Scan.h +++ b/Projects/Shark/Scan.h @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Projects/Shark/Shark.c b/Projects/Shark/Shark.c index 9378b8e..5f3fa7b 100644 --- a/Projects/Shark/Shark.c +++ b/Projects/Shark/Shark.c @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Projects/Shark/Shark.def b/Projects/Shark/Shark.def index 6d4f663..8989ec6 100644 --- a/Projects/Shark/Shark.def +++ b/Projects/Shark/Shark.def @@ -12,7 +12,7 @@ ; for the specific language governing rights and limitations under the ; License. ; -; The Initial Developer of the Original e is blindtiger. +; The Initial Developer of the Original Code is blindtiger. ; ; diff --git a/Projects/Shark/Shark.h b/Projects/Shark/Shark.h index 7c16a3d..8380214 100644 --- a/Projects/Shark/Shark.h +++ b/Projects/Shark/Shark.h @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Projects/Shark/Shark.rc b/Projects/Shark/Shark.rc index d53d45a..98392c6 100644 --- a/Projects/Shark/Shark.rc +++ b/Projects/Shark/Shark.rc @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Projects/Shark/Space.c b/Projects/Shark/Space.c index 39aa05e..51de9e1 100644 --- a/Projects/Shark/Space.c +++ b/Projects/Shark/Space.c @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Projects/Shark/Space.h b/Projects/Shark/Space.h index 8a98b00..ce35882 100644 --- a/Projects/Shark/Space.h +++ b/Projects/Shark/Space.h @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Projects/Shark/Stack.c b/Projects/Shark/Stack.c index c48d288..8b692fb 100644 --- a/Projects/Shark/Stack.c +++ b/Projects/Shark/Stack.c @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Projects/Shark/Stack.h b/Projects/Shark/Stack.h index 079f626..5079a4b 100644 --- a/Projects/Shark/Stack.h +++ b/Projects/Shark/Stack.h @@ -12,7 +12,7 @@ * for the specific language governing rights and limitations under the * License. * -* The Initial Developer of the Original e is blindtiger. +* The Initial Developer of the Original Code is blindtiger. * */ diff --git a/Push.ps1 b/Push.ps1 deleted file mode 100644 index 9256922..0000000 --- a/Push.ps1 +++ /dev/null @@ -1,23 +0,0 @@ -# -# -# Copyright (c) 2015 - 2021 by blindtiger. All rights reserved. -# -# The contents of this file are subject to the Mozilla Public License Version -# 2.0 (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# http://www.mozilla.org/MPL/ -# -# Software distributed under the License is distributed on an "AS IS" basis, -# WITHOUT WARRANTY OF ANY KIND, either express or implied. SEe the License -# for the specific language governing rights and limitations under the -# License. -# -# The Initial Developer of the Original e is blindtiger. -# -# - -git add * -$commit = Get-Date -Format 'yyyy-MM-dd-HH-mm-ss' -git commit -m $commit -git push -u GitHub master -pause \ No newline at end of file diff --git a/Shark.v12.suo b/Shark.v12.suo index 19e1d72c81f509c55f42f27989ab4add88681005..28761f310e3b40643ba7ebbc47b353d530d72fc3 100644 GIT binary patch literal 19968 zcmeHPTWnm#8J;CvLZF0j2`QzmO9JJ#%X+Wgq@>xK6HrX7H~}8~vR*s3gJWB}&W+fp zPn1dpRaJ!4imF0LsD11!50F+$r6NS&2?>d+fvS(CDo>yk_xonf?9LvaJv)1`9fvck z|C~8<`)B_7=b!)oXY3CzZTrU?f4cXwaD}~MllW%&W^tpD9zy&&{e8O-*CWofZK zRj)>zw1lp$*bkqgwX7Uso1L#Cz*-g0i-W*c1+JrbPJkvl-48dL*d?x$^wczP zn)Q8Uk*o3FhWP(<o2&0Os9=_uYW)0Mg`MfNpY^5!Y#6?*~xs zK>*te!s=6CE!Y42>o3>V{{=D*!g{R#LEsJ6za)QceQG(tbw^poH`n=1PTb9jq~8qy z$`PH{tMz}g(WY)Yc&`oxIL`#?ZhUi2IsbaznYP8rqrBI$p6TQPE@SQq+|%9jzXNIC z1#lnu9^gK}_W?fu{1DIwU_1BYy%WGaLd*XjBmNNJVZbARM*)ukSYAWa`HtZo2P6PV zKnjos3;;5K-GDuSp8#}SuXh3YMWYN*UGrfC`p%3vS<`&-QvabI$n-fR7U5*MvOPaJ_d4Slkp~|( z_Cn{`yrF-FLMTYyw#CoB{?lpvkfc5J&shnRVg#e7CORPsNU1pGn!Tw15ii%2Eq>Z? zrhEo7#q{?>tOy#FRpC{t>-0QXSAgj0PO?*Ca338trg} zwPG!YIDYCD)GKVqe+$aK3t%8#&UgiLUIP9>%)$)5tF@k~oypA`sy20t_T^6_{hP19 zVNio!2)`Ye`ycfzj-5gG%kTXoWL|U_kUAaZF~cal5G8O!6*0> zhL!e*R>a(xRC)Ka5BTX{vX^O6Ufy5kE0kNt*#R0nDgvbS^e5!9_-%+ zHMmuI=9~Q23P0)L7cl;=@E^b&kIS*o!seL)H3mVA8JSXX@w!((x*dNGlrMwZ=zo}l z=`jn;2c7xw^SkK2aQ>;g(O+-Nf8>>ErvW$r(f(y0s29-xLSFO>ozR~?wa*;;vpN2= zkTzp-E?VFZk(YVyY&(9F|J?Y8Fy0fu%6kx|Y;2Tz^&Y|hB-cOBL2U6qj>o z{I5J?yjuMK&t0PC(s|e=+#FODeeh*R@#_~6`Sfd@+rV+LR!%(a>&)Q1I4#21>*@Pc zeGuXtQU`EioW;9{7)xZ}AdJdb0%yzp0H)RJ$KbC|f(BXq`cW%}@&jT?JW)G4J%Jtd z1*uytf}iMa-r~Yj+oalm73;x8L||N;{N!k>JfMM<0Cg>!+T6>4QI9 zxqRmAVV%b|Uw-bBORxNH`RQN%>yzsFmo9JBd8}s{NKM)wsJcnq_9S$dGFJ0RslVYS z!w3jpLiU!rKU>`oAS%Kg^^6GAJt}}rl8-ty4v@9YU%2+=A2aJP?u2@>fAxB9y+%~t zzZk-JXXGh?^4{|F^du|@t;-8=BXvaHf*`$m$>$MJ`m}Reqw%U+1146UxOw+YovyI# zW_jKhT}s#ZEv9BV&+g7IBuP>`5b@hBQiIDx8ZaGvP!r z(I3v_Qqgcco=Rq7v3x8Wi!DLC%NslBw3yzvae7@?m9CnWWrzMhc^|wT|6dN2Ur+xZ zrNLdCegwDu>urClvR+T#|EJx>Rb*>_?L*l|oW|VvJMsU~_Mkm)i=VsDdfNZ=fAsSH z2k*a7zp))Z^~KE)0}P~hm-j!U|A)94RIC2aM*may_dj?Kmt(TUzY}Hk{SPU8dn;hK ztq{$LPULw{2eBbmga!AAkaH-qPXVuzpAjZKK3W>EMq*6zrpE_{IaVH9!j zJ8WpyX*;fmVOF$FbIYF&{J)a_IYL|hi=%8W{lCP!k^H~(DIIYp%T0gp{m0y;or=zj z{$Jj`Bs9dWsJgD z()R-ShbAN*Vf`IR=)~Fw+J1rm$=e4U_@DfIVS)dtbAP|L->+RiFpRP2}I8^}*lGGoC1F^6y4R zW!(k5tMaB4|5E1H>)wY`=v7(XVB)QYG4xJ|SJ%8(JOi5n?T?`^b^7Ss9k#tyY-5zRPghdKVaP~;eKd=9MJJ)GG*NQ@#g);caTDeVi32K zEx3%ol`8Hld6-ArSCs}?eu5JB@LMo*^Ac@zf(MH{R9bUsjph-84{*#0B0wCG$8fSB z5hB7wgoqL`oY3R#`U`NACCQiJAd2r-ggLa6t2)Pd5`N67c$lonF%r3eXTU|YPgP}n zAbGNOfdn19^UE?uD=zI>a0czk6e3{qM|Bgf+!z9|#ZH>!xu^auW zpBy@_P0%Kc-O#e+4<8+}xbd6eFLInTb4bTla_vfHswF_Fm-^7 za!$WbIuBR2z>l`%s~23O1wOQm72H#1(Xmt*>2wW0yo>9Q;l}d=d5_~g23O%V-x+5D z>jlr?`Sie?qS+#{M2?syW{9)IIpRE#CuZ?iVyeBK0M~Nda?vfTyLq*vXMcjxAR7j( z;V1KowJPq3JEAEbP>M(5uGka}+C3B-{kXufjoInjcu**HidP*q=>0JLY=E_R^Ho`; cLip_Z6E|1HqUpHfVSKu@jXO(?W9sI_Uzz*+MgRZ+ diff --git a/build.cmd b/build.cmd index abecb52..98b295d 100644 --- a/build.cmd +++ b/build.cmd @@ -12,7 +12,7 @@ @rem for the specific language governing rights and limitations under the @rem License. @rem -@rem The Initial Developer of the Original e is blindtiger. +@rem The Initial Developer of the Original Code is blindtiger. @rem @rem