HomeSort by relevance Sort by last modified time
    Searched defs:SectionHeader (Results 1 - 25 of 39) sorted by null

1 2

  /prebuilts/go/darwin-x86/src/debug/pe/
section.go 52 func readRelocs(sh *SectionHeader, r io.ReadSeeker) ([]Reloc, error) {
68 // SectionHeader is similar to SectionHeader32 with Name
70 type SectionHeader struct {
85 SectionHeader
  /prebuilts/go/linux-x86/src/debug/pe/
section.go 52 func readRelocs(sh *SectionHeader, r io.ReadSeeker) ([]Reloc, error) {
68 // SectionHeader is similar to SectionHeader32 with Name
70 type SectionHeader struct {
85 SectionHeader
  /frameworks/compile/mclinker/include/mcld/LD/
ELFReader.h 40 typedef llvm::ELF::Elf32_Shdr SectionHeader;
125 typedef llvm::ELF::Elf64_Shdr SectionHeader;
  /prebuilts/go/darwin-x86/src/debug/plan9obj/
file.go 33 // A SectionHeader represents a single Plan 9 a.out section header.
36 type SectionHeader struct {
44 SectionHeader
187 s.SectionHeader = SectionHeader{
  /prebuilts/go/linux-x86/src/debug/plan9obj/
file.go 33 // A SectionHeader represents a single Plan 9 a.out section header.
36 type SectionHeader struct {
44 SectionHeader
187 s.SectionHeader = SectionHeader{
  /device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/
MeasureBootPeCoff.c 116 EFI_IMAGE_SECTION_HEADER *SectionHeader;
129 SectionHeader = NULL;
323 SectionHeader = (EFI_IMAGE_SECTION_HEADER *) AllocateZeroPool (sizeof (EFI_IMAGE_SECTION_HEADER) * Hdr.Pe32->FileHeader.NumberOfSections);
324 if (SectionHeader == NULL) {
344 while ((Pos > 0) && (Section->PointerToRawData < SectionHeader[Pos - 1].PointerToRawData)) {
345 CopyMem (&SectionHeader[Pos], &SectionHeader[Pos - 1], sizeof(EFI_IMAGE_SECTION_HEADER));
348 CopyMem (&SectionHeader[Pos], Section, sizeof(EFI_IMAGE_SECTION_HEADER));
360 Section = (EFI_IMAGE_SECTION_HEADER *) &SectionHeader[Index];
422 if (SectionHeader != NULL) {
    [all...]
  /device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEDxe/
MeasureBootPeCoff.c 116 EFI_IMAGE_SECTION_HEADER *SectionHeader;
129 SectionHeader = NULL;
323 SectionHeader = (EFI_IMAGE_SECTION_HEADER *) AllocateZeroPool (sizeof (EFI_IMAGE_SECTION_HEADER) * Hdr.Pe32->FileHeader.NumberOfSections);
324 if (SectionHeader == NULL) {
344 while ((Pos > 0) && (Section->PointerToRawData < SectionHeader[Pos - 1].PointerToRawData)) {
345 CopyMem (&SectionHeader[Pos], &SectionHeader[Pos - 1], sizeof(EFI_IMAGE_SECTION_HEADER));
348 CopyMem (&SectionHeader[Pos], Section, sizeof(EFI_IMAGE_SECTION_HEADER));
360 Section = (EFI_IMAGE_SECTION_HEADER *) &SectionHeader[Index];
422 if (SectionHeader != NULL) {
    [all...]
  /prebuilts/go/darwin-x86/src/debug/macho/
file.go 85 type SectionHeader struct {
112 SectionHeader
  /prebuilts/go/linux-x86/src/debug/macho/
file.go 85 type SectionHeader struct {
112 SectionHeader
  /test/vts/utils/python/library/
elf_parser.py 46 _section_headers: List of SectionHeader objects read from the ELF.
49 class SectionHeader(object):
99 self.SectionHeader(self, self._sh_offset + i * self._sh_size)
222 sh: An instance of SectionHeader.
  /device/linaro/bootloader/edk2/SignedCapsulePkg/Library/EdkiiSystemCapsuleLib/
EdkiiSystemCapsuleLib.c 102 EFI_COMMON_SECTION_HEADER *SectionHeader;
111 SectionHeader = SectionBuffer;
114 while ((UINTN)SectionHeader < (UINTN)SectionBuffer + SectionBufferSize) {
115 DEBUG ((DEBUG_INFO, "GetSectionByType - Section: 0x%08x\n", SectionHeader));
116 if (IS_SECTION2(SectionHeader)) {
117 SectionSize = SECTION2_SIZE(SectionHeader);
119 SectionSize = SECTION_SIZE(SectionHeader);
122 if (SectionHeader->Type == SectionType) {
124 *OutSectionBuffer = (UINT8 *)SectionHeader;
136 DEBUG ((DEBUG_INFO, "GetSectionByType - other section type 0x%x\n", SectionHeader->Type));
    [all...]
  /external/llvm/tools/llvm-pdbdump/
LinePrinter.h 75 SectionHeader,
  /device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
BasePeCoff.c 271 EFI_IMAGE_SECTION_HEADER SectionHeader;
399 &SectionHeader
406 if (DebugDirectoryEntryRva >= SectionHeader.VirtualAddress &&
407 DebugDirectoryEntryRva < SectionHeader.VirtualAddress + SectionHeader.Misc.VirtualSize) {
409 DebugDirectoryEntryRva - SectionHeader.VirtualAddress + SectionHeader.PointerToRawData;
464 &SectionHeader
471 if (DebugDirectoryEntryRva >= SectionHeader.VirtualAddress &&
472 DebugDirectoryEntryRva < SectionHeader.VirtualAddress + SectionHeader.Misc.VirtualSize) {
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/
GenFdsGlobalVariable.py 86 SectionHeader = struct.Struct("3B 1B")
393 GenFdsGlobalVariable.SectionHeader.pack_into(SectionData, 0, Len & 0xff, (Len >> 8) & 0xff, (Len >> 16) & 0xff, 0x15)
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffLib/
BasePeCoff.c 209 EFI_IMAGE_SECTION_HEADER SectionHeader;
320 &SectionHeader
327 if (DebugDirectoryEntryRva >= SectionHeader.VirtualAddress &&
328 DebugDirectoryEntryRva < SectionHeader.VirtualAddress + SectionHeader.Misc.VirtualSize) {
330 DebugDirectoryEntryFileOffset = DebugDirectoryEntryRva - SectionHeader.VirtualAddress + SectionHeader.PointerToRawData;
381 &SectionHeader
388 if (DebugDirectoryEntryRva >= SectionHeader.VirtualAddress &&
389 DebugDirectoryEntryRva < SectionHeader.VirtualAddress + SectionHeader.Misc.VirtualSize) {
    [all...]
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/
PeCoffLoader.c 375 EFI_IMAGE_SECTION_HEADER SectionHeader;
517 &SectionHeader
524 if (DebugDirectoryEntryRva >= SectionHeader.VirtualAddress &&
525 DebugDirectoryEntryRva < SectionHeader.VirtualAddress + SectionHeader.Misc.VirtualSize) {
527 DebugDirectoryEntryFileOffset = DebugDirectoryEntryRva - SectionHeader.VirtualAddress + SectionHeader.PointerToRawData;
590 &SectionHeader
597 if (DebugDirectoryEntryRva >= SectionHeader.VirtualAddress &&
598 DebugDirectoryEntryRva < SectionHeader.VirtualAddress + SectionHeader.Misc.VirtualSize) {
    [all...]
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/FwImage/
fwimage.c 202 EFI_IMAGE_SECTION_HEADER *SectionHeader;
210 SectionHeader = (EFI_IMAGE_SECTION_HEADER *)(FileBuffer + DosHdr->e_lfanew + sizeof(UINT32) + sizeof (EFI_IMAGE_FILE_HEADER) + PeHdr->PeHeader32.FileHeader.SizeOfOptionalHeader);
211 for (Index = 0; Index < PeHdr->PeHeader32.FileHeader.NumberOfSections; Index++, SectionHeader++) {
215 if (strcmp (SectionHeader->Name, ".reloc") == 0) {
216 SectionHeader->Misc.VirtualSize = Optional32->DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC].Size;
223 if (AllignedRelocSize < SectionHeader->SizeOfRawData) {
227 if (SectionHeader->PointerToRawData + SectionHeader->SizeOfRawData == Optional32->SizeOfImage) {
231 Optional32->SizeOfImage -= (SectionHeader->SizeOfRawData - AllignedRelocSize);
232 Optional32->SizeOfInitializedData -= (SectionHeader->SizeOfRawData - AllignedRelocSize);
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/Image/
Image.c 229 EFI_IMAGE_SECTION_HEADER SectionHeader;
273 &SectionHeader
281 if ((SectionHeader.Characteristics & EFI_IMAGE_SCN_CNT_CODE) == 0) {
291 ValueInSectionHeader = ReadUnaligned64((UINT64*)&SectionHeader.PointerToRelocations);
    [all...]
  /device/linaro/bootloader/edk2/MdePkg/Library/BasePeCoffLib/
BasePeCoff.c 35 @param SectionHeader Pointer to the section header.
41 EFI_IMAGE_SECTION_HEADER *SectionHeader,
45 SectionHeader->VirtualAddress -= TeStrippedOffset;
46 SectionHeader->PointerToRawData -= TeStrippedOffset;
110 EFI_IMAGE_SECTION_HEADER SectionHeader;
495 &SectionHeader
509 PeCoffLoaderAdjustOffsetForTeImage (&SectionHeader, (UINT32)Hdr.Te->StrippedSize - sizeof (EFI_TE_IMAGE_HEADER));
512 if (SectionHeader.SizeOfRawData > 0) {
516 if (SectionHeader.VirtualAddress < ImageContext->SizeOfHeaders ||
517 SectionHeader.PointerToRawData < ImageContext->SizeOfHeaders) {
    [all...]
  /device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpmMeasureBootLib/
DxeTpmMeasureBootLib.c 320 EFI_IMAGE_SECTION_HEADER *SectionHeader;
334 SectionHeader = NULL;
560 SectionHeader = (EFI_IMAGE_SECTION_HEADER *) AllocateZeroPool (sizeof (EFI_IMAGE_SECTION_HEADER) * Hdr.Pe32->FileHeader.NumberOfSections);
561 if (SectionHeader == NULL) {
581 while ((Pos > 0) && (Section->PointerToRawData < SectionHeader[Pos - 1].PointerToRawData)) {
582 CopyMem (&SectionHeader[Pos], &SectionHeader[Pos - 1], sizeof(EFI_IMAGE_SECTION_HEADER));
585 CopyMem (&SectionHeader[Pos], Section, sizeof(EFI_IMAGE_SECTION_HEADER));
597 Section = (EFI_IMAGE_SECTION_HEADER *) &SectionHeader[Index];
682 if (SectionHeader != NULL) {
    [all...]
  /prebuilts/go/darwin-x86/src/debug/elf/
file.go 60 // A SectionHeader represents a single ELF section header.
61 type SectionHeader struct {
82 SectionHeader
382 s.SectionHeader = SectionHeader{
399 s.SectionHeader = SectionHeader{
  /prebuilts/go/linux-x86/src/debug/elf/
file.go 60 // A SectionHeader represents a single ELF section header.
61 type SectionHeader struct {
82 SectionHeader
382 s.SectionHeader = SectionHeader{
399 s.SectionHeader = SectionHeader{
  /device/linaro/bootloader/edk2/BaseTools/Source/C/GenSec/
GenSec.c     [all...]
  /device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/SectionExtractionDxe/
SectionExtraction.c 279 EFI_COMMON_SECTION_HEADER *SectionHeader;
283 SectionHeader = (EFI_COMMON_SECTION_HEADER *)SectionStream;
286 if (IS_SECTION2 (SectionHeader)) {
287 SectionLength = SECTION2_SIZE (SectionHeader);
289 SectionLength = SECTION_SIZE (SectionHeader);
300 SectionHeader = (EFI_COMMON_SECTION_HEADER *) ((UINT8 *) SectionHeader + SectionLength);
305 NextSectionHeader = ALIGN_POINTER(SectionHeader, 4);
306 TotalLength += (UINTN) NextSectionHeader - (UINTN) SectionHeader;
307 SectionHeader = NextSectionHeader;
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Image/
Image.c 351 EFI_IMAGE_SECTION_HEADER SectionHeader;
387 &SectionHeader
398 if ((SectionHeader.Characteristics & EFI_IMAGE_SCN_CNT_CODE) == 0) {
405 ValueInSectionHeader = ReadUnaligned64((UINT64*)&SectionHeader.PointerToRelocations);
    [all...]

Completed in 1596 milliseconds

1 2