summaryrefslogtreecommitdiff
path: root/binfile.h
diff options
context:
space:
mode:
authorSoren Sandmann <sandmann@redhat.com>2008-02-17 23:31:19 +0000
committerSøren Sandmann Pedersen <ssp@src.gnome.org>2008-02-17 23:31:19 +0000
commitb98db05f9bbd2f56d756d1ccf805f5136c65ba25 (patch)
treecac905533ab4e26c7b87a1bd94ce969eca380877 /binfile.h
parent9d2f7a1a9d52115976b7268bd0ac6b2320ec3e3a (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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/binfile.h b/binfile.h
index 713b225..44dbbb6 100644
--- a/binfile.h
+++ b/binfile.h
@@ -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