FreeCalypso > hg > freecalypso-reveng
annotate objgrep/globals.h @ 303:3baaefa1e229
dsample-fw-disasm: Rx up/down functions located and analysed
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 06 Oct 2019 00:36:11 +0000 |
parents | 77cd647375e5 |
children |
rev | line source |
---|---|
70 | 1 /* |
167
c25367bb7656
objgrep: written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
130
diff
changeset
|
2 * extern declarations of global vars for the objgrep program, based on tiobjd. |
70 | 3 */ |
4 | |
167
c25367bb7656
objgrep: written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
130
diff
changeset
|
5 extern char *objfilename, *binfilename; |
c25367bb7656
objgrep: written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
130
diff
changeset
|
6 extern u_char *objfilemap, *binfilemap; |
c25367bb7656
objgrep: written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
130
diff
changeset
|
7 extern size_t objfile_tot_size, binfile_tot_size; |
70 | 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; | |
71
c15cd3d695c0
tiobjd: successful parsing of the section header table
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
70
diff
changeset
|
15 |
167
c25367bb7656
objgrep: written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
130
diff
changeset
|
16 extern struct internal_scnhdr *sections, *grep_section; |
73
10f3fbff5e97
tiobjd: symbol table parsing implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
71
diff
changeset
|
17 extern struct internal_syment **symtab; |
167
c25367bb7656
objgrep: written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
130
diff
changeset
|
18 extern u_char *pattern_match, *pattern_mask; |
c25367bb7656
objgrep: written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
130
diff
changeset
|
19 extern unsigned pattern_len; |
173
77cd647375e5
objgrep -r: dump symbols in other sections recovered through relocs
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
167
diff
changeset
|
20 |
167
c25367bb7656
objgrep: written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
130
diff
changeset
|
21 extern struct internal_reloc *relocs; |
173
77cd647375e5
objgrep -r: dump symbols in other sections recovered through relocs
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
167
diff
changeset
|
22 extern unsigned nreloc_int, nreloc_ext; |
167
c25367bb7656
objgrep: written, compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
130
diff
changeset
|
23 extern unsigned match_offset; |