FreeCalypso > hg > freecalypso-reveng
view objgrep/globals.c @ 208:f7943bdbb3ea
tiobjd disasm -g: grok struct/union/enum definitions and statics in functions
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Fri, 04 Mar 2016 23:36:16 +0000 |
parents | 77cd647375e5 |
children |
line wrap: on
line source
/* * Definitions of global vars for the objgrep program, based on tiobjd. */ #include <sys/types.h> char *objfilename, *binfilename; u_char *objfilemap, *binfilemap; size_t objfile_tot_size, binfile_tot_size; struct external_filehdr *filehdr_struct; struct external_scnhdr *sections_raw; unsigned nsections; struct external_syment *symtab_raw; unsigned nsymtab; unsigned strtab_offset; struct internal_scnhdr *sections, *grep_section; struct internal_syment **symtab; u_char *pattern_match, *pattern_mask; unsigned pattern_len; struct internal_reloc *relocs; unsigned nreloc_int, nreloc_ext; unsigned match_offset;