Home
last modified time | relevance | path

Searched refs:section_header (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/courgette/
Ddisassembler_elf_32.cc108 const Elf32_Shdr *section_header = SectionHeader(section_id); in DiscoverLength() local
110 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() local
192 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() local
266 section_header->sh_offset, in ParseFile()
[all …]
Ddisassembler_elf_32_x86.cc64 const Elf32_Shdr *section_header, in ParseRelocationSection() argument
85 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() argument
120 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()
Ddisassembler_elf_32_arm.cc299 const Elf32_Shdr *section_header, in ParseRelocationSection() argument
320 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() argument
370 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()
Ddisassembler_elf_32.h173 const Elf32_Shdr *section_header,
176 const Elf32_Shdr *section_header,
Ddisassembler_elf_32_x86.h48 const Elf32_Shdr *section_header,
Ddisassembler_elf_32_arm.h67 const Elf32_Shdr *section_header,
/external/chromium/base/win/
Dpe_image.cc532 PIMAGE_SECTION_HEADER section_header = GetImageSectionFromAddr(address); in ImageAddrToOnDiskOffset() local
533 if (NULL == section_header) in ImageAddrToOnDiskOffset()
542 section_header->VirtualAddress)); in ImageAddrToOnDiskOffset()
545 *on_disk_offset = section_header->PointerToRawData + offset_within_section; in ImageAddrToOnDiskOffset()
/external/chromium_org/base/win/
Dpe_image.cc533 PIMAGE_SECTION_HEADER section_header = GetImageSectionFromAddr(address); in ImageAddrToOnDiskOffset() local
534 if (NULL == section_header) in ImageAddrToOnDiskOffset()
543 section_header->VirtualAddress)); in ImageAddrToOnDiskOffset()
546 *on_disk_offset = section_header->PointerToRawData + offset_within_section; in ImageAddrToOnDiskOffset()