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

@ -5,6 +5,7 @@ typedef struct ElfParser ElfParser;
ElfParser *elf_parser_new (const guchar *data,
gsize length);
void elf_parser_free (ElfParser *parser);
/* Lookup a symbol in the file.
*