Searched refs:section_header (Results 1 – 8 of 8) sorted by relevance
108 const Elf32_Shdr *section_header = SectionHeader(section_id); in DiscoverLength() local110 if (section_header->sh_type == SHT_NOBITS) in DiscoverLength()113 uint32 section_end = section_header->sh_offset + section_header->sh_size; in DiscoverLength()189 const Elf32_Shdr *section_header = SectionHeader(i); in FileOffsetToRVA() local192 if (section_header->sh_type == SHT_NOBITS) in FileOffsetToRVA()195 Elf32_Off section_begin = section_header->sh_offset; in FileOffsetToRVA()196 Elf32_Off section_end = section_begin + section_header->sh_size; in FileOffsetToRVA()199 return section_header->sh_addr + (offset32 - section_begin); in FileOffsetToRVA()263 const Elf32_Shdr *section_header = SectionHeader(section_id); in ParseFile() local266 section_header->sh_offset, in ParseFile()[all …]
64 const Elf32_Shdr *section_header, in ParseRelocationSection() argument85 size_t file_offset = section_header->sh_offset; in ParseRelocationSection()86 size_t section_end = section_header->sh_offset + section_header->sh_size; in ParseRelocationSection()89 (Elf32_Rel *)OffsetToPointer(section_header->sh_offset); in ParseRelocationSection()91 uint32 section_relocs_count = section_header->sh_size / in ParseRelocationSection()92 section_header->sh_entsize; in ParseRelocationSection()118 const Elf32_Shdr* section_header) { in ParseRel32RelocsFromSection() argument120 uint32 start_file_offset = section_header->sh_offset; in ParseRel32RelocsFromSection()121 uint32 end_file_offset = start_file_offset + section_header->sh_size; in ParseRel32RelocsFromSection()129 section_header->sh_addr; in ParseRel32RelocsFromSection()
299 const Elf32_Shdr *section_header, in ParseRelocationSection() argument320 size_t file_offset = section_header->sh_offset; in ParseRelocationSection()321 size_t section_end = section_header->sh_offset + section_header->sh_size; in ParseRelocationSection()324 (Elf32_Rel *)OffsetToPointer(section_header->sh_offset); in ParseRelocationSection()326 uint32 section_relocs_count = section_header->sh_size / in ParseRelocationSection()327 section_header->sh_entsize; in ParseRelocationSection()368 const Elf32_Shdr* section_header) { in ParseRel32RelocsFromSection() argument370 uint32 start_file_offset = section_header->sh_offset; in ParseRel32RelocsFromSection()371 uint32 end_file_offset = start_file_offset + section_header->sh_size; in ParseRel32RelocsFromSection()379 section_header->sh_addr; in ParseRel32RelocsFromSection()
173 const Elf32_Shdr *section_header,176 const Elf32_Shdr *section_header,
48 const Elf32_Shdr *section_header,
67 const Elf32_Shdr *section_header,
532 PIMAGE_SECTION_HEADER section_header = GetImageSectionFromAddr(address); in ImageAddrToOnDiskOffset() local533 if (NULL == section_header) in ImageAddrToOnDiskOffset()542 section_header->VirtualAddress)); in ImageAddrToOnDiskOffset()545 *on_disk_offset = section_header->PointerToRawData + offset_within_section; in ImageAddrToOnDiskOffset()
533 PIMAGE_SECTION_HEADER section_header = GetImageSectionFromAddr(address); in ImageAddrToOnDiskOffset() local534 if (NULL == section_header) in ImageAddrToOnDiskOffset()543 section_header->VirtualAddress)); in ImageAddrToOnDiskOffset()546 *on_disk_offset = section_header->PointerToRawData + offset_within_section; in ImageAddrToOnDiskOffset()