holder for BFD state we must keep More...
#include <bfd_support.h>

Public Member Functions | |
| bfd_info () | |
| ~bfd_info () | |
| void | close () |
| close the BFD, setting abfd to NULL | |
| bool | valid () const |
| return true if BFD is readable | |
| bool | has_debug_info () const |
| return true if BFD has debug info | |
| void | get_symbols () |
| pick out the symbols from the bfd, if we can | |
| void | set_image_bfd_info (bfd_info *ibfd) |
| bfd_info * | get_image_bfd_info (void) const |
Public Attributes | |
| bfd * | abfd |
| the actual BFD | |
| scoped_array< asymbol * > | syms |
| normal symbols (includes synthesized symbols) | |
| size_t | nr_syms |
| nr. symbols | |
holder for BFD state we must keep
| bfd_info::bfd_info | ( | ) | [inline] |
| bfd_info::~bfd_info | ( | ) |
References close().
| void bfd_info::close | ( | ) |
close the BFD, setting abfd to NULL
Referenced by ~bfd_info().
| bfd_info* bfd_info::get_image_bfd_info | ( | void | ) | const [inline] |
Referenced by find_nearest_line().
| void bfd_info::get_symbols | ( | ) |
| bool bfd_info::has_debug_info | ( | ) | const |
| void bfd_info::set_image_bfd_info | ( | bfd_info * | ibfd | ) | [inline] |
| bool bfd_info::valid | ( | ) | const [inline] |
return true if BFD is readable
References abfd.
Referenced by op_bfd::bfd_arch_bits_per_address(), find_nearest_line(), op_bfd::get_start_offset(), op_bfd::has_debug_info(), has_debug_info(), op_bfd::symbol_has_contents(), and op_bfd::valid().
| bfd* bfd_info::abfd |
the actual BFD
Referenced by op_bfd::bfd_arch_bits_per_address(), find_nearest_line(), op_bfd::get_symbol_contents(), op_bfd::has_debug_info(), op_bfd::offset_to_pc(), and valid().
| size_t bfd_info::nr_syms |
nr. symbols
Referenced by get_symbols().
| scoped_array<asymbol *> bfd_info::syms |
normal symbols (includes synthesized symbols)
Referenced by find_nearest_line().
1.6.1