Chameleon

Chameleon Svn Source Tree

Root/branches/meklort/i386/modules/KextPatcher/hex_editor.h

Source at commit 600 created 9 years 8 months ago.
By meklort, Added zlib delfate code. Kext patcher can now successfuly patch the GMA950 and fb binaries for 27AE devices, plist not patched yet.
1/*
2 * hex_editor.h
3 *
4 *
5 * Created by Meklort on 10/19/10.
6 * Copyright 2010 Evan Lojewski. All rights reserved.
7 *
8 */
9#ifndef H_HEX_EDITOR
10#define H_HEX_EDITOR
11#include "libsaio.h"
12
13int replace_patern(char* pattern, char* repalcement, char* buffer, long buffer_size);
14int replace_word(uint32_t pattern, uint32_t repalcement, char* buffer, long buffer_size);
15
16
17#endif /* H_HEX_EDITOR */

Archive Download this file

Revision: 600