-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathIMG.h
49 lines (46 loc) · 2.34 KB
/
IMG.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#ifndef A_H
#define A_H
// void add_hook(PyObject*** hooks, PyObject* new_hook);
// PyObject** hooks_list = *hooks;
// if (hooks_list == NULL) {
// hooks_list = (PyObject**) malloc(sizeof(PyObject*)*2);
// hooks_list[0] = new_hook;
// hooks_list[1] = NULL;
// } else {
// int hook_count;
// for(hook_count=0; hooks_list[hook_count]; hook_count++);
// hooks_list = (PyObject**) realloc(hooks_list, sizeof(PyObject*)*(hook_count+2));
// hooks_list[hook_count] = new_hook;
// hooks_list[hook_count+1] = NULL;
// }
// *hooks = hooks_list;
// }
// ------------------- auto generated
PyObject* Python_IMG_Next(PyObject* self, PyObject* args);
PyObject* Python_IMG_Prev(PyObject* self, PyObject* args);
PyObject* Python_IMG_Invalid(PyObject* self, PyObject* args);
PyObject* Python_IMG_Valid(PyObject* self, PyObject* args);
PyObject* Python_IMG_SecHead(PyObject* self, PyObject* args);
PyObject* Python_IMG_SecTail(PyObject* self, PyObject* args);
PyObject* Python_IMG_RegsymHead(PyObject* self, PyObject* args);
PyObject* Python_IMG_Entry(PyObject* self, PyObject* args);
PyObject* Python_IMG_Name(PyObject* self, PyObject* args) ;
PyObject* Python_IMG_Gp(PyObject* self, PyObject* args) ;
PyObject* Python_IMG_LoadOffset(PyObject* self, PyObject* args) ;
PyObject* Python_IMG_LowAddress(PyObject* self, PyObject* args);
PyObject* Python_IMG_HighAddress(PyObject* self, PyObject* args);
PyObject* Python_IMG_StartAddress(PyObject* self, PyObject* args);
PyObject* Python_IMG_SizeMapped(PyObject* self, PyObject* args);
PyObject* Python_IMG_Type(PyObject* self, PyObject* args);
PyObject* Python_IMG_IsMainExecutable(PyObject* self, PyObject* args);
PyObject* Python_IMG_IsStaticExecutable(PyObject* self, PyObject* args);
PyObject* Python_IMG_Id(PyObject* self, PyObject* args);
PyObject* Python_IMG_FindImgById(PyObject* self, PyObject* args);
PyObject* Python_IMG_FindByAddress(PyObject* self, PyObject* args);
PyObject* Python_IMG_AddInstrumentFunction(PyObject* self, PyObject* args);
PyObject* Python_IMG_AddUnloadFunction(PyObject* self, PyObject* args);
PyObject* Python_IMG_Open(PyObject* self, PyObject* args);
PyObject* Python_IMG_Close(PyObject* self, PyObject* args);
PyObject* Python_APP_ImgHead(PyObject* self, PyObject* args);
PyObject* Python_APP_ImgTail(PyObject* self, PyObject* args);
#endif