src/AntiDebugging/AntiDebugging/Scanner.cs
/// <summary>
/// Populate "database" with process names/window names.
/// Using HashSet for maximum performance
/// </summary>
Populate "database" with process names/window names.
Using HashSet for maximum performance
Populate " database " with process names / window names . Using HashSet for maximum performance
private static void Init()
        {
            if (BadProcessNameList?.Any() == true && BadWindowTextList?.Any() == true)
            {
                return;
            }
            BadProcessNameList = new HashSet<string>
            {
                "procmon64",
                "codecracker",
                "ida",
                "idag",
                "idaw",
                "idaq",
                "idau",
                "scylla",
                "de4dot",
                "de4dotmodded",
                "protection_id",
                "ollydbg",
                "x64dbg",
                "x32dbg",
                "x96dbg",
                "x64netdumper",
                "petools",
                "dnspy",
                "windbg",
                "reshacker",
                "simpleassembly",
                "process hacker",
                "process monitor",
                "qt5core",
                "importREC",
                "immunitydebugger",
                "megadumper",
                "cheatengine-x86_64",
                "dump",
                "dbgclr",
                "wireshark",
                "hxd"
            };
            BadWindowTextList = new HashSet<string>
            {
                "ollydbg",
                "ida",
                "disassembly",
                "scylla",
                "debug",
                "[cpu",
                "immunity",
                "windbg",
                "x32dbg",
                "x64dbg",
                "x96dbg",
                "import reconstructor",
                "dumper"
            };
        }
private static void Init ( ) { if ( BadProcessNameList ? . Any ( ) == true && BadWindowTextList ? . Any ( ) == true ) { return ; } BadProcessNameList = new HashSet < string > { " " , " " , " " , " " , " " , " " , " " , " " , " " , " " , " " , " " , " " , " " , " " , " " , " " , " " , " " , " " , " " , " " , " " , " " , " " , " " , " " , " " , " " , " " , " " , " " } ; BadWindowTextList = new HashSet < string > { " " , " " , " " , " " , " " , " " , " " , " " , " " , " " , " " , " " , " " } ; }
Populate "database" with process names/window names.
Populate " database " with process names / window names .