-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathExamples.cpp
More file actions
30 lines (22 loc) · 760 Bytes
/
Examples.cpp
File metadata and controls
30 lines (22 loc) · 760 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include "AntiDebug.hpp"
#include "ConstantObf.hpp"
#include "Remap.hpp"
#include "Seh.hpp"
#include "Veh.hpp"
int main( )
{
// warden::veh::install( );
// __debugbreak( );
// warden::remap::remap_trampoline( );
// warden::antidebug::init( );
// auto res = warden::antidebug::check_debug_port( );
// printf( "check_debug_port: %d\n", res );
// res = warden::antidebug::check_process_flags( );
// printf( "check_process_flags: %d\n", res );
// res = warden::antidebug::hide_thread( );
// printf( "hide_thread: %d\n", res );
seh::call( MessageBoxA, nullptr, "Hello, World!", "Debug", 0 );
const auto a = OBFUSCATE( 0xdeadbeefdeadbeef );
seh::call( printf, "a: %p\n", a );
return 0;
}