view objgrep/globals.h @ 179:d0e8cdb82117

leo-obj/l1_custom_int/l1_cust.hints: created
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 11 Jul 2014 00:59:50 +0000
parents 77cd647375e5
children
line wrap: on
line source

/*
 * extern declarations of global vars for the objgrep program, based on tiobjd.
 */

extern char *objfilename, *binfilename;
extern u_char *objfilemap, *binfilemap;
extern size_t objfile_tot_size, binfile_tot_size;

extern struct external_filehdr *filehdr_struct;
extern struct external_scnhdr *sections_raw;
extern unsigned nsections;
extern struct external_syment *symtab_raw;
extern unsigned nsymtab;
extern unsigned strtab_offset;

extern struct internal_scnhdr *sections, *grep_section;
extern struct internal_syment **symtab;
extern u_char *pattern_match, *pattern_mask;
extern unsigned pattern_len;

extern struct internal_reloc *relocs;
extern unsigned nreloc_int, nreloc_ext;
extern unsigned match_offset;