Read the name out of the file instead of out of the struct.

2006-08-20  Soren Sandmann  <sandmann@redhat.com>

	* elfparser.c (elf_sym_get_name): Read the name out of the file
	instead of out of the struct.

	* elfparser.c (struct ElfSym): Store an offset instead of the
	name.

	* elfparser.c (all_elf_parsers): Keep track of all elf parsers
	created.
This commit is contained in:
Soren Sandmann
2006-08-20 06:26:54 +00:00
committed by Søren Sandmann Pedersen
parent 6c7afad3ff
commit 49e1fabe46
7 changed files with 96 additions and 12 deletions

View File

@ -8,6 +8,7 @@ BinParser *bin_parser_new (const guchar *data,
BinFormat *bin_format_new (gboolean big_endian,
const char *name, BinField *field,
...);
gsize bin_parser_get_offset (BinParser *parser);
gsize bin_format_get_size (BinFormat *format);
void bin_parser_index (BinParser *parser, int index);
void bin_parser_begin (BinParser *parser,