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

Archive Download this file

Revision: 515