FreeCalypso > hg > freecalypso-reveng
comparison objgrep/intstruct.h @ 167:c25367bb7656
objgrep: written, compiles
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Fri, 04 Jul 2014 00:54:33 +0000 |
parents | leo-obj/tool/intstruct.h@fd772de226cb |
children | 77cd647375e5 |
comparison
equal
deleted
inserted
replaced
166:861f5ca49581 | 167:c25367bb7656 |
---|---|
1 /* | |
2 * The structures defined in this header file | |
3 * are internal to our utility. | |
4 */ | |
5 | |
6 struct internal_scnhdr { | |
7 char *name; | |
8 unsigned size; | |
9 unsigned data_offset; | |
10 unsigned reloc_offset; | |
11 unsigned line_offset; | |
12 unsigned nreloc; | |
13 unsigned nlineent; | |
14 unsigned flags; | |
15 unsigned nsymbols; | |
16 }; | |
17 | |
18 struct internal_syment { | |
19 unsigned number; | |
20 char *name; | |
21 unsigned value; | |
22 int scnum; | |
23 int type; | |
24 int class; | |
25 u_char *aux; | |
26 struct internal_scnhdr *section; | |
27 }; | |
28 | |
29 struct internal_reloc { | |
30 unsigned location; | |
31 struct internal_scnhdr *secbase; | |
32 struct internal_syment *extsym; | |
33 int type; | |
34 unsigned addend; | |
35 }; |