view objgrep/intstruct.h @ 200:492a6360e64d

leo-obj/frame_na7_db_ir: disassemble frame.obj in order to bring to light the compiled form of that infamous TraceMask[0] = 0; line
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sat, 06 Jun 2015 18:32:49 +0000
parents 77cd647375e5
children
line wrap: on
line source

/*
 * The structures defined in this header file
 * are internal to our utility.
 */

struct internal_scnhdr {
	char		*name;
	unsigned	size;
	unsigned	data_offset;
	unsigned	reloc_offset;
	unsigned	line_offset;
	unsigned	nreloc;
	unsigned	nlineent;
	unsigned	flags;
	unsigned	nsymbols;
	unsigned	recov_flag;
	unsigned	recov_addr;
};

struct internal_syment {
	unsigned	number;
	char		*name;
	unsigned	value;
	int		scnum;
	int		type;
	int		class;
	u_char		*aux;
	struct internal_scnhdr *section;
};

struct internal_reloc {
	unsigned	location;
	struct internal_scnhdr *secbase;
	struct internal_syment *extsym;
	int		type;
	unsigned	addend;
	unsigned	symvalue;
};