MCPcopy Create free account
hub / github.com/SpecialKO/SpecialK / SK_Debug_CheckDebugFlagInPEB

Function SK_Debug_CheckDebugFlagInPEB

src/diagnostics/debug_utils.cpp:1905–1916  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1903 pPeb->ProcessParameters->DebugFlags = DEBUG_PROCESS;
1904 //pPeb->ProcessParameters->DebugFlags = 0x0;
1905#endif /* SK_ANTIDEBUG_PARANOIA_STAGE2 */
1906
1907#ifdef SK_ANTIDEBUG_PARANOIA_STAGE3
1908 if (bWasBeingDebugged)
1909 {
1910 if ( StrStrW ( pPeb->ProcessParameters->WindowTitle.Buffer,
1911 L"EntrianAttach") )
1912 {
1913 wcscpy ( wszWindowTitle,
1914 SK_AntiAntiDebug_GetNormalWindowTitle () );
1915 }
1916
1917 SK_InitUnicodeString (
1918 &pPeb->ProcessParameters->WindowTitle,
1919 wszWindowTitle );

Callers 1

config.cppFile · 0.85

Calls 1

SK_Debug_FlagAsDebuggingFunction · 0.85

Tested by

no test coverage detected