mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
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:
committed by
Søren Sandmann Pedersen
parent
6c7afad3ff
commit
49e1fabe46
@ -324,6 +324,15 @@ bin_parser_index (BinParser *parser,
|
||||
parser->frame->index = index;
|
||||
}
|
||||
|
||||
gsize
|
||||
bin_parser_get_offset (BinParser *parser)
|
||||
{
|
||||
g_return_val_if_fail (parser != NULL, 0);
|
||||
g_return_val_if_fail (parser->frame != NULL, 0);
|
||||
|
||||
return parser->frame->offset;
|
||||
}
|
||||
|
||||
BinField *
|
||||
bin_field_new_fixed_array (int n_elements,
|
||||
int element_size)
|
||||
|
||||
Reference in New Issue
Block a user