diff options
author | Soren Sandmann <sandmann@redhat.com> | 2008-02-17 23:31:19 +0000 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@src.gnome.org> | 2008-02-17 23:31:19 +0000 |
commit | b98db05f9bbd2f56d756d1ccf805f5136c65ba25 (patch) | |
tree | cac905533ab4e26c7b87a1bd94ce969eca380877 /binfile.h | |
parent | 9d2f7a1a9d52115976b7268bd0ac6b2320ec3e3a (diff) |
Add commented out code to reject callback.
2008-02-17 Soren Sandmann <sandmann@redhat.com>
* collector.c (lookup_symbol): Add commented out code to reject
callback.
* elfparser.c (struct ElfParser): Store the filename if any
(elf_parser_get_sym_address): Subtract the load address, so the
result will be an offset into the text section.
* process.[ch] (process_lookup_symbol): Add an offset out-argument
* binfile.[ch] (bin_symbol_get_address): New function
* TODO: updates
svn path=/trunk/; revision=397
Diffstat (limited to 'binfile.h')
-rw-r--r-- | binfile.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -40,5 +40,7 @@ gboolean bin_file_check_inode (BinFile *bin_file, ino_t inode); const char * bin_symbol_get_name (BinFile *bin_file, const BinSymbol *symbol); +gulong bin_symbol_get_address (BinFile *bin_file, + const BinSymbol *symbol); #endif |