add git attributes

This commit is contained in:
SinaKarvandi 2020-04-15 14:11:54 -07:00
parent 449ecf9101
commit a4d0573175
3 changed files with 34 additions and 1 deletions

22
.gitattributes vendored Normal file
View file

@ -0,0 +1,22 @@
# Auto detect text files and perform LF normalization
* text=auto
# Custom for Visual Studio
*.cs diff=csharp
*.sln merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union
# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain

View file

@ -36,6 +36,12 @@ DebuggerInitialize()
InitializeListHead(&g_GuestState[i].Events.HiddenHooksExecDetourEvents);
InitializeListHead(&g_GuestState[i].Events.SyscallHooksEferEvents);
}
//
// Enabled Debugger Events
//
g_EnableDebuggerEvents = TRUE;
//
//---------------------------------------------------------------------------
// Temporary test everything here
@ -105,7 +111,6 @@ DebuggerInitialize()
//
DebuggerAddActionToEvent(Event1, BREAK_TO_DEBUGGER, FALSE, NULL, NULL);
DbgBreakPoint();
//
// Call to register
//

View file

@ -52,3 +52,9 @@ BOOLEAN g_ExecuteOnlySupport;
*
*/
BOOLEAN g_AllowIOCTLFromUsermode;
/**
* @brief Determines whether the debugger events should be active or not
*
*/
BOOLEAN g_EnableDebuggerEvents;