Skip to content

Commit 0b27485

Browse files
committed
removed testing code
1 parent 4f4ee86 commit 0b27485

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/Samples/Main.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,6 @@ void MapCmdFromMem();
1111

1212
int main( int /*argc*/, char* /*argv[]*/ )
1313
{
14-
Process pc;
15-
pc.Attach( GetCurrentProcess() );
16-
17-
bool prot = pc.core().isProtected();
18-
19-
Driver().EnsureLoaded();
20-
Driver().ProtectProcess( GetCurrentProcessId(), PolicyOpt::Policy_Enable );
21-
22-
bool prot2 = pc.core().isProtected();
23-
2414
// List all process PIDs matching name
2515
auto pids = Process::EnumByName( L"explorer.exe" );
2616

0 commit comments

Comments
 (0)