FreeCalypso > hg > freecalypso-reveng
comparison objgrep/globals.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/globals.h@87b82398a08b |
children | 77cd647375e5 |
comparison
equal
deleted
inserted
replaced
166:861f5ca49581 | 167:c25367bb7656 |
---|---|
1 /* | |
2 * extern declarations of global vars for the objgrep program, based on tiobjd. | |
3 */ | |
4 | |
5 extern char *objfilename, *binfilename; | |
6 extern u_char *objfilemap, *binfilemap; | |
7 extern size_t objfile_tot_size, binfile_tot_size; | |
8 | |
9 extern struct external_filehdr *filehdr_struct; | |
10 extern struct external_scnhdr *sections_raw; | |
11 extern unsigned nsections; | |
12 extern struct external_syment *symtab_raw; | |
13 extern unsigned nsymtab; | |
14 extern unsigned strtab_offset; | |
15 | |
16 extern struct internal_scnhdr *sections, *grep_section; | |
17 extern struct internal_syment **symtab; | |
18 extern u_char *pattern_match, *pattern_mask; | |
19 extern unsigned pattern_len; | |
20 extern struct internal_reloc *relocs; | |
21 extern unsigned match_offset; |