Root/
Source at commit 1079 created 13 years 1 month ago. By meklort, began implimenting Bios disk changes. Code taken from biosfn.c | |
---|---|
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 | ␊ |
13 | int replace_patern(char* pattern, char* repalcement, char* buffer, long buffer_size);␊ |
14 | int replace_word(uint32_t pattern, uint32_t repalcement, char* buffer, long buffer_size);␊ |
15 | void replace_string(char* find, const char* replace, char* string, int length);␊ |
16 | void replace_bytes(char* find, int find_size, char* replace, int replace_size, char* exec, int length);␊ |
17 | #endif /* H_HEX_EDITOR */ |