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

Archive Download this file

Revision: 495