FreeCalypso > hg > freecalypso-reveng
comparison ticoff/globals.c @ 71:c15cd3d695c0
tiobjd: successful parsing of the section header table
| author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
|---|---|
| date | Sat, 22 Mar 2014 05:53:02 +0000 |
| parents | 6799a5c57a49 |
| children | 10f3fbff5e97 |
comparison
equal
deleted
inserted
replaced
| 70:6799a5c57a49 | 71:c15cd3d695c0 |
|---|---|
| 1 /* | 1 /* |
| 2 * Definitions of global vars for the tiobjd program. | 2 * Definitions of global vars for the tiobjd program. |
| 3 */ | 3 */ |
| 4 | 4 |
| 5 #include <sys/types.h> | 5 #include <sys/types.h> |
| 6 #include "filestruct.h" | |
| 7 | 6 |
| 8 char *objfilename; | 7 char *objfilename; |
| 9 u_char *filemap; | 8 u_char *filemap; |
| 10 size_t objfile_tot_size; | 9 size_t objfile_tot_size; |
| 11 | 10 |
| 13 struct external_scnhdr *sections_raw; | 12 struct external_scnhdr *sections_raw; |
| 14 unsigned nsections; | 13 unsigned nsections; |
| 15 struct external_syment *symtab_raw; | 14 struct external_syment *symtab_raw; |
| 16 unsigned nsymtab; | 15 unsigned nsymtab; |
| 17 unsigned strtab_offset; | 16 unsigned strtab_offset; |
| 17 | |
| 18 struct internal_scnhdr *sections; |
