osprey/libdwarf/libdwarf/dwarf_addr_finder.c File Reference

#include "config.h"
#include "libdwarfdefs.h"
#include <elf.h>
#include <dwarf.h>
#include <libdwarf.h>
#include "dwarf_base_types.h"
#include "dwarf_alloc.h"
#include "dwarf_opaque.h"
#include "dwarf_arange.h"
#include "dwarf_line.h"
#include "dwarf_frame.h"
#include <cmplrs/dwarf_addr_finder.h>
#include "dwarf_error.h"

Include dependency graph for dwarf_addr_finder.c:

Go to the source code of this file.

Typedefs

typedef unsigned long long ull

Functions/Subroutines

static int do_this_die_and_dealloc (Dwarf_Debug dbg, Dwarf_Die die, int *errval)
static int handle_debug_info (Dwarf_Debug dbg, int *errval)
static int handle_debug_frame (Dwarf_Debug dbg, Dwarf_addr_callback_func cb_func, int *errval)
static int handle_debug_aranges (Dwarf_Debug dbg, Dwarf_addr_callback_func cb_func, int *errval)
static int handle_debug_line (Dwarf_Debug dbg, Dwarf_Die cu_die, Dwarf_addr_callback_func cb_func, int *errval)
static int handle_debug_loc (void)
int _dwarf_addr_finder (dwarf_elf_handle elf_file_ptr, Dwarf_addr_callback_func cb_func, int *dwerr)
static int handle_attr_addr (Dwarf_Debug dbg, Dwarf_Die die, Dwarf_Half attrnum, Dwarf_Error *perr)
static int handle_attr_locdesc (Dwarf_Debug dbg, Dwarf_Die die, Dwarf_Half attrnum, Dwarf_Error *perr)
static int process_this_die_attrs (Dwarf_Debug dbg, Dwarf_Die newdie, int *errval)

Variables

static Dwarf_addr_callback_func send_addr_note
static int might_have_addr []
static int might_have_locdesc []


Typedef Documentation

typedef unsigned long long ull

Definition at line 57 of file dwarf_addr_finder.c.


Function Documentation

int _dwarf_addr_finder ( dwarf_elf_handle  elf_file_ptr,
Dwarf_addr_callback_func  cb_func,
int *  dwerr 
)

static int do_this_die_and_dealloc ( Dwarf_Debug  dbg,
Dwarf_Die  die,
int *  errval 
) [static]

static int handle_attr_addr ( Dwarf_Debug  dbg,
Dwarf_Die  die,
Dwarf_Half  attrnum,
Dwarf_Error perr 
) [static]

static int handle_attr_locdesc ( Dwarf_Debug  dbg,
Dwarf_Die  die,
Dwarf_Half  attrnum,
Dwarf_Error perr 
) [static]

static int handle_debug_aranges ( Dwarf_Debug  dbg,
Dwarf_addr_callback_func  cb_func,
int *  errval 
) [static]

static int handle_debug_frame ( Dwarf_Debug  dbg,
Dwarf_addr_callback_func  cb_func,
int *  errval 
) [static]

static int handle_debug_info ( Dwarf_Debug  dbg,
int *  errval 
) [static]

static int handle_debug_line ( Dwarf_Debug  dbg,
Dwarf_Die  cu_die,
Dwarf_addr_callback_func  cb_func,
int *  errval 
) [static]

static int handle_debug_loc ( void   )  [static]

Definition at line 685 of file dwarf_addr_finder.c.

References DW_DLV_NO_ENTRY.

Referenced by _dwarf_addr_finder().

static int process_this_die_attrs ( Dwarf_Debug  dbg,
Dwarf_Die  newdie,
int *  errval 
) [static]


Variable Documentation

int might_have_addr[] [static]

Initial value:

Definition at line 233 of file dwarf_addr_finder.c.

Referenced by process_this_die_attrs().

int might_have_locdesc[] [static]


Generated on Wed Apr 8 15:51:34 2009 for Open64 by  doxygen 1.5.6