Root/
1 | /*␊ |
2 | * Copyright (c) 2009 Evan Lojewski. All rights reserved.␊ |
3 | *␊ |
4 | */␊ |
5 | ␊ |
6 | #include "libsaio.h"␊ |
7 | #include "modules.h" //Azi:warning␊ |
8 | ␊ |
9 | ␊ |
10 | void helloWorld(void* binary, void* arg2, void* arg3, void* arg4)␊ |
11 | {␊ |
12 | ␉printf("Hello world from ExecKernel hook. Binary located at 0x%X\n", binary);␊ |
13 | ␉//getc();␊ |
14 | ␉␊ |
15 | }␊ |
16 | ␊ |
17 | void HelloWorld_start()␊ |
18 | {␊ |
19 | ␉//printf("Hooking 'ExecKernel'\n");␊ |
20 | ␉register_hook_callback("ExecKernel", &helloWorld);␊ |
21 | }␊ |
22 | ␊ |
23 |