
Go to the source code of this file.
Data Types | |
| type | Dwarf_P_Section_Data_s |
Defines | |
| #define | MAGIC_SECT_NO -3 |
| #define | CHUNK_SIZE (4096 - sizeof (struct Dwarf_P_Section_Data_s)) |
| #define | GET_CHUNK(dbg, sectno, ptr, nbytes, error) |
| #define | SECTION_TYPE SHT_PROGBITS |
Functions/Subroutines | |
| Dwarf_Small * | _dwarf_pro_buffer (Dwarf_P_Debug dbg, int sectno, unsigned long nbytes) |
| int | _dwarf_transform_arange_to_disk (Dwarf_P_Debug dbg, Dwarf_Error *error) |
Variables | |
| char * | _dwarf_rel_section_names [] |
| char * | _dwarf_sectnames [] |
| #define CHUNK_SIZE (4096 - sizeof (struct Dwarf_P_Section_Data_s)) |
Definition at line 82 of file pro_section.h.
| #define GET_CHUNK | ( | dbg, | |||
| sectno, | |||||
| ptr, | |||||
| nbytes, | |||||
| error | ) |
Value:
{ \
(ptr) = _dwarf_pro_buffer((dbg),(sectno),(nbytes)); \
if ((ptr) == NULL) { \
DWARF_P_DBG_ERROR(dbg,DW_DLE_CHUNK_ALLOC,-1); \
} \
}
Definition at line 95 of file pro_section.h.
Referenced by _dwarf_pro_generate_debugframe(), _dwarf_pro_generate_debuginfo(), _dwarf_pro_generate_debugline(), _dwarf_pro_transform_macro_info_to_disk(), _dwarf_stream_relocs_to_disk(), _dwarf_transform_arange_to_disk(), _dwarf_transform_simplename_to_disk(), and _dwf_pro_generate_ehframe().
| #define MAGIC_SECT_NO -3 |
Definition at line 75 of file pro_section.h.
Referenced by _dwarf_pro_buffer(), and dwarf_get_section_bytes().
| #define SECTION_TYPE SHT_PROGBITS |
Definition at line 113 of file pro_section.h.
| Dwarf_Small* _dwarf_pro_buffer | ( | Dwarf_P_Debug | dbg, | |
| int | sectno, | |||
| unsigned long | nbytes | |||
| ) |
Definition at line 2022 of file pro_section.c.
References _dwarf_p_get_alloc(), CHUNK_SIZE, Dwarf_P_Debug_s::de_current_active_section, Dwarf_P_Debug_s::de_debug_sects, Dwarf_P_Debug_s::de_first_debug_sect, Dwarf_P_Debug_s::de_n_debug_sect, Dwarf_P_Section_Data_s::ds_data, Dwarf_P_Section_Data_s::ds_elf_sect_no, Dwarf_P_Section_Data_s::ds_nbytes, Dwarf_P_Section_Data_s::ds_next, Dwarf_P_Section_Data_s::ds_orig_alloc, MAGIC_SECT_NO, and NULL.
| int _dwarf_transform_arange_to_disk | ( | Dwarf_P_Debug | dbg, | |
| Dwarf_Error * | error | |||
| ) |
Definition at line 121 of file pro_arange.c.
References _dwarf_p_error(), _dwarf_pro_pre_alloc_n_reloc_slots(), Dwarf_P_Arange_s::ag_begin_address, Dwarf_P_Arange_s::ag_end_symbol_index, Dwarf_P_Arange_s::ag_end_symbol_offset, Dwarf_P_Arange_s::ag_length, Dwarf_P_Arange_s::ag_next, Dwarf_P_Arange_s::ag_symbol_index, count, CURRENT_VERSION_STAMP, Dwarf_P_Debug_s::de_64bit_extension, Dwarf_P_Debug_s::de_arange, Dwarf_P_Debug_s::de_arange_count, Dwarf_P_Debug_s::de_elf_sects, Dwarf_P_Debug_s::de_n_debug_sect, Dwarf_P_Debug_s::de_offset_size, Dwarf_P_Debug_s::de_pointer_size, Dwarf_P_Debug_s::de_reloc_name, Dwarf_P_Debug_s::de_reloc_pair, Dwarf_P_Debug_s::de_sect_name_idx, DEBUG_ARANGES, DEBUG_INFO, DISTINGUISHED_VALUE, DW_DLE_ALLOC_FAIL, DW_DLV_OK, dwarf_drt_data_reloc, dwarf_drt_first_of_length_pair, GET_CHUNK, NULL, remainder(), val, WRITE_UNALIGNED, and x.
Referenced by dwarf_transform_to_disk_form().
| char* _dwarf_rel_section_names[] |
Definition at line 81 of file pro_section.c.
Referenced by _dwarf_stream_relocs_to_disk(), and _dwarf_symbolic_relocs_to_disk().
| char* _dwarf_sectnames[] |
1.5.6