osprey/libdwarf/dwarfdump/globals.h File Reference

#include "config.h"
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <elf.h>
#include "libelf/libelf.h"
#include <dwarf.h>
#include <libdwarf.h>

Include dependency graph for globals.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Types

type  Dwarf_Check_Result

Defines

#define HAVE___UINT32_T   1
#define HAVE___UINT64_T   1
#define FALSE   0
#define TRUE   1
#define ATTRIB_BUFSIZ   999
#define DWARF_CHECK_ERROR(str)
#define DWARF_CHECK_ERROR2(str1, str2)

Typedefs

typedef char * string
typedef int boolean

Functions/Subroutines

void print_error (Dwarf_Debug dbg, string msg, int res, Dwarf_Error err)
void print_line_numbers_this_cu (Dwarf_Debug dbg, Dwarf_Die in_die)
void print_frames (Dwarf_Debug dbg)
void print_pubnames (Dwarf_Debug dbg)
void print_macinfo (Dwarf_Debug dbg)
void print_locs (Dwarf_Debug dbg)
void print_abbrevs (Dwarf_Debug dbg)
void print_strings (Dwarf_Debug dbg)
void print_aranges (Dwarf_Debug dbg)
void print_relocinfo (Dwarf_Debug dbg)
void print_static_funcs (Dwarf_Debug dbg)
void print_static_vars (Dwarf_Debug dbg)
void print_types (Dwarf_Debug dbg)
void print_weaknames (Dwarf_Debug dbg)
void print_exception_tables (Dwarf_Debug dbg)
string get_fde_proc_name (Dwarf_Debug dbg, Dwarf_Addr low_pc)
void print_die_and_children (Dwarf_Debug dbg, Dwarf_Die in_die, char **srcfiles, Dwarf_Signed cnt)
void print_one_die (Dwarf_Debug dbg, Dwarf_Die die, boolean print_information, char **srcfiles, Dwarf_Signed cnt)

Variables

int verbose
boolean dense
boolean ellipsis
boolean dst_format
boolean check_pubname_attr
boolean check_attr_tag
boolean check_tag_tree
boolean check_type_offset
Dwarf_Check_Result abbrev_code_result
Dwarf_Check_Result pubname_attr_result
Dwarf_Check_Result reloc_offset_result
Dwarf_Check_Result attr_tag_result
Dwarf_Check_Result tag_tree_result
Dwarf_Check_Result type_offset_result
boolean info_flag
boolean use_old_dwarf_loclist
char cu_name []
boolean cu_name_flag
Dwarf_Unsigned cu_offset
Dwarf_Off fde_offset_for_cu_low
Dwarf_Off fde_offset_for_cu_high
int check_error
Dwarf_Error err


Define Documentation

#define ATTRIB_BUFSIZ   999

Definition at line 109 of file globals.h.

Referenced by process_one_file().

#define DWARF_CHECK_ERROR ( str   ) 

Value:

{\
  printf("*** DWARF CHECK: %s ***\n", str);\
  check_error ++; \
}

Definition at line 174 of file globals.h.

Referenced by get_attr_value(), and print_die_and_children().

#define DWARF_CHECK_ERROR2 ( str1,
str2   ) 

Value:

{\
  printf("*** DWARF CHECK: %s: %s ***\n", str1, str2);\
  check_error ++; \
}

Definition at line 179 of file globals.h.

Referenced by print_attribute(), print_die_and_children(), and print_pubnames().

#define FALSE   0

Definition at line 102 of file globals.h.

#define HAVE___UINT32_T   1

Definition at line 67 of file globals.h.

#define HAVE___UINT64_T   1

Definition at line 68 of file globals.h.

#define TRUE   1

Definition at line 105 of file globals.h.


Typedef Documentation

typedef int boolean

Definition at line 100 of file globals.h.

typedef char* string

Definition at line 99 of file globals.h.


Function Documentation

string get_fde_proc_name ( Dwarf_Debug  dbg,
Dwarf_Addr  low_pc 
)

void print_abbrevs ( Dwarf_Debug  dbg  ) 

void print_aranges ( Dwarf_Debug  dbg  ) 

void print_die_and_children ( Dwarf_Debug  dbg,
Dwarf_Die  in_die,
char **  srcfiles,
Dwarf_Signed  cnt 
)

void print_error ( Dwarf_Debug  dbg,
string  msg,
int  res,
Dwarf_Error  err 
)

void print_exception_tables ( Dwarf_Debug  dbg  ) 

void print_frames ( Dwarf_Debug  dbg  ) 

void print_line_numbers_this_cu ( Dwarf_Debug  dbg,
Dwarf_Die  in_die 
)

void print_locs ( Dwarf_Debug  dbg  ) 

Definition at line 1472 of file print_sections.c.

References DW_DLV_ERROR, DW_DLV_OK, dwarf_get_loclist_entry(), err, offset, print_error(), and printf().

Referenced by process_one_file().

void print_macinfo ( Dwarf_Debug  dbg  ) 

void print_one_die ( Dwarf_Debug  dbg,
Dwarf_Die  die,
boolean  print_information,
char **  srcfiles,
Dwarf_Signed  cnt 
)

void print_pubnames ( Dwarf_Debug  dbg  ) 

void print_relocinfo ( Dwarf_Debug  dbg  ) 

void print_static_funcs ( Dwarf_Debug  dbg  ) 

void print_static_vars ( Dwarf_Debug  dbg  ) 

void print_strings ( Dwarf_Debug  dbg  ) 

Definition at line 1606 of file print_sections.c.

References DW_DLV_ERROR, DW_DLV_OK, dwarf_get_str(), err, length, offset, print_error(), and printf().

Referenced by process_one_file().

void print_types ( Dwarf_Debug  dbg  ) 

void print_weaknames ( Dwarf_Debug  dbg  ) 


Variable Documentation

Definition at line 105 of file dwarfdump.c.

Definition at line 108 of file dwarfdump.c.

Referenced by print_attribute().

Definition at line 95 of file dwarfdump.c.

Referenced by print_attribute(), process_args(), and process_one_file().

Definition at line 55 of file dwarfdump.c.

Referenced by main().

Definition at line 93 of file dwarfdump.c.

Referenced by print_pubnames(), process_args(), and process_one_file().

Definition at line 96 of file dwarfdump.c.

Referenced by print_die_and_children(), process_args(), and process_one_file().

Definition at line 97 of file dwarfdump.c.

Referenced by get_attr_value(), process_args(), and process_one_file().

char cu_name[]

Definition at line 101 of file dwarfdump.c.

Referenced by print_aranges(), print_infos(), and process_args().

Definition at line 103 of file dwarfdump.c.

Referenced by get_attr_value(), and print_infos().

Definition at line 90 of file dwarfdump.c.

Referenced by print_one_die().

Definition at line 112 of file dwarfdump.c.

Referenced by $auxinit(), $ssdallc(), $ssdfree(), __c_fp_class_q(), __f77_f_back_com(), _dwarf_addr_finder(), _dwarf_print_one_locdesc(), _dwarf_stream_relocs_to_disk(), _dwarf_symbolic_relocs_to_disk(), _elf_arhdr(), _elf_init_ar(), _elf_output(), _stat(), alpha_ecoff_get_relocated_section_contents(), bfd_check_format_matches(), c_dfe(), c_due(), c_le(), check_buflen(), collect_execute(), compile_re(), complex_divide(), complex_sqrt(), do_this_die_and_dealloc(), do_ui(), do_uio_1dim_work(), Dump_Rta_Scns(), dwarf_transform_to_disk_form(), elfNN_ia64_install_value(), execute(), f_clos_com(), f_del_com(), f_duped(), f_end_com(), f_find_com(), f_open_com(), f_unl_com(), ffestb_R100110_(), fstat(), get_attr_value(), get_fde_proc_name(), get_location_list(), get_nested_proc_name(), get_proc_name(), handle_debug_aranges(), handle_debug_frame(), handle_debug_info(), handle_debug_line(), idxopen(), idxread(), ir_b_create_map(), ISA_Operands_End(), ISA_Pack_End(), ISA_Print_End(), ISA_Subset_End(), l_C(), l_CHAR(), l_L(), l_R(), l_R16(), l_read(), l_write(), lang_specific_pre_link(), load_file_data(), load_symbols(), lwrt_A(), lwrt_I(), main(), mv_cur(), My_Atoq(), NAMEgetvar(), TOP_SCHED_INFO_MAP::Output(), parse_derived_type_stmt(), pex_free(), pex_get_status(), pex_get_times(), pex_read_output(), pexecute(), print_abbrevs(), print_aranges(), print_attribute(), print_die_and_children(), print_elf_error(), print_frames(), print_insn_ia64(), print_line_numbers_this_cu(), print_locs(), print_macinfo(), print_one_die(), print_pubnames(), print_relocinfo(), print_relocinfo_32(), print_relocinfo_64(), print_static_funcs(), print_static_vars(), print_strings(), print_types(), print_weaknames(), process_O_option(), process_this_die_attrs(), pushdecl(), pushdecl_maybe_friend(), QUADOP_ADD(), QUADOP_DIV(), QUADOP_DTOQ(), QUADOP_EQ(), QUADOP_GE(), QUADOP_GT(), QUADOP_ITOQ(), QUADOP_LE(), QUADOP_LT(), QUADOP_MPY(), QUADOP_NE(), QUADOP_NEGATE(), QUADOP_QTOD(), QUADOP_QTOI(), QUADOP_QTOS(), QUADOP_QTOU(), QUADOP_SQRT(), QUADOP_STOQ(), QUADOP_SUB(), QUADOP_UTOQ(), rd_ed(), remove_do_parallel_blk(), remove_pdo_blk(), rtl_verify_flow_info(), rtl_verify_flow_info_1(), s_rsle_com(), s_xsue64_mp(), scan_prog_file(), section_cache_section(), t_runc(), Targ_Atoc(), Targ_Conv(), Targ_Ipower(), Targ_Is_Integral(), Targ_WhirlOp(), tree_verify_flow_info(), utime(), verify_call_clobbering(), verify_def(), verify_dominators(), verify_eh_tree(), verify_flow_info(), verify_flow_insensitive_alias_info(), verify_flow_sensitive_alias_info(), verify_hot_cold_block_grouping(), verify_loop_structure(), verify_name_tags(), verify_phi_args(), verify_ssa(), verify_stmts(), verify_use(), vms_object_p(), w_ed(), w_ned(), wrt_G(), y_getc(), y_gets(), y_ierr(), y_putc(), z_getc(), and z_putc().

Definition at line 53 of file print_die.c.

Referenced by get_attr_value(), and print_frames().

Definition at line 52 of file print_die.c.

Referenced by get_attr_value(), and print_frames().

Definition at line 66 of file dwarfdump.c.

Referenced by print_die_and_children(), print_infos(), process_args(), and process_one_file().

Definition at line 106 of file dwarfdump.c.

Referenced by print_pubnames().

Definition at line 107 of file dwarfdump.c.

Definition at line 109 of file dwarfdump.c.

Referenced by print_die_and_children().

Definition at line 110 of file dwarfdump.c.

Referenced by get_attr_value().

Definition at line 67 of file dwarfdump.c.

Referenced by get_location_list(), and process_args().

int verbose

Definition at line 35 of file vms-cc.c.


Generated on Wed Apr 8 14:44:20 2009 for Open64 by  doxygen 1.5.6