FreeCalypso > hg > freecalypso-reveng
annotate leo-obj/tool/globals.c @ 170:13a9ce1590fc
objgrep: parsing of -r and -s options implemented, no functionality yet
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Fri, 04 Jul 2014 02:56:21 +0000 |
parents | 87b82398a08b |
children |
rev | line source |
---|---|
70 | 1 /* |
2 * Definitions of global vars for the tiobjd program. | |
3 */ | |
4 | |
5 #include <sys/types.h> | |
6 | |
7 char *objfilename; | |
8 u_char *filemap; | |
9 size_t objfile_tot_size; | |
10 | |
11 struct external_filehdr *filehdr_struct; | |
12 struct external_scnhdr *sections_raw; | |
13 unsigned nsections; | |
14 struct external_syment *symtab_raw; | |
15 unsigned nsymtab; | |
16 unsigned strtab_offset; | |
71
c15cd3d695c0
tiobjd: successful parsing of the section header table
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
70
diff
changeset
|
17 |
c15cd3d695c0
tiobjd: successful parsing of the section header table
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
70
diff
changeset
|
18 struct internal_scnhdr *sections; |
73
10f3fbff5e97
tiobjd: symbol table parsing implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
71
diff
changeset
|
19 struct internal_syment **symtab; |