Chameleon

Chameleon Svn Source Tree

Root/branches/azimutz/Chazi/i386/modules/HelloWorld/HelloWorld.c

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
10void helloWorld(void* binary, void* arg2, void* arg3, void* arg4)
11{
12printf("Hello world from ExecKernel hook. Binary located at 0x%X\n", binary);
13//getc();
14
15}
16
17void HelloWorld_start()
18{
19//printf("Hooking 'ExecKernel'\n");
20register_hook_callback("ExecKernel", &helloWorld);
21}
22
23

Archive Download this file

Revision: 486