HomeSort by relevance Sort by last modified time
    Searched defs:SectionHeader (Results 1 - 25 of 35) 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
  /device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/
MeasureBootPeCoff.c 64 EFI_IMAGE_SECTION_HEADER *SectionHeader;
76 SectionHeader = NULL;
253 SectionHeader = (EFI_IMAGE_SECTION_HEADER *) AllocateZeroPool (sizeof (EFI_IMAGE_SECTION_HEADER) * Hdr.Pe32->FileHeader.NumberOfSections);
254 if (SectionHeader == NULL) {
274 while ((Pos > 0) && (Section->PointerToRawData < SectionHeader[Pos - 1].PointerToRawData)) {
275 CopyMem (&SectionHeader[Pos], &SectionHeader[Pos - 1], sizeof(EFI_IMAGE_SECTION_HEADER));
278 CopyMem (&SectionHeader[Pos], Section, sizeof(EFI_IMAGE_SECTION_HEADER));
290 Section = (EFI_IMAGE_SECTION_HEADER *) &SectionHeader[Index];
352 if (SectionHeader != NULL) {
    [all...]
  /device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEDxe/
MeasureBootPeCoff.c 64 EFI_IMAGE_SECTION_HEADER *SectionHeader;
76 SectionHeader = NULL;
253 SectionHeader = (EFI_IMAGE_SECTION_HEADER *) AllocateZeroPool (sizeof (EFI_IMAGE_SECTION_HEADER) * Hdr.Pe32->FileHeader.NumberOfSections);
254 if (SectionHeader == NULL) {
274 while ((Pos > 0) && (Section->PointerToRawData < SectionHeader[Pos - 1].PointerToRawData)) {
275 CopyMem (&SectionHeader[Pos], &SectionHeader[Pos - 1], sizeof(EFI_IMAGE_SECTION_HEADER));
278 CopyMem (&SectionHeader[Pos], Section, sizeof(EFI_IMAGE_SECTION_HEADER));
290 Section = (EFI_IMAGE_SECTION_HEADER *) &SectionHeader[Index];
352 if (SectionHeader != NULL) {
    [all...]
  /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{
  /prebuilts/go/darwin-x86/src/debug/macho/
file.go 85 type SectionHeader struct {
98 SectionHeader
  /prebuilts/go/linux-x86/src/debug/macho/
file.go 85 type SectionHeader struct {
98 SectionHeader
  /external/llvm/tools/llvm-pdbdump/
LinePrinter.h 75 SectionHeader,
  /test/vts-testcase/vndk/dependency/
elf_parser.py 41 _section_headers: List of SectionHeader objects read from the ELF.
77 class SectionHeader(object):
220 An instance of SectionHeader.
222 return self.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 85 SectionHeader = struct.Struct("3B 1B")
394 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 318 EFI_IMAGE_SECTION_HEADER *SectionHeader;
332 SectionHeader = NULL;
558 SectionHeader = (EFI_IMAGE_SECTION_HEADER *) AllocateZeroPool (sizeof (EFI_IMAGE_SECTION_HEADER) * Hdr.Pe32->FileHeader.NumberOfSections);
559 if (SectionHeader == NULL) {
579 while ((Pos > 0) && (Section->PointerToRawData < SectionHeader[Pos - 1].PointerToRawData)) {
580 CopyMem (&SectionHeader[Pos], &SectionHeader[Pos - 1], sizeof(EFI_IMAGE_SECTION_HEADER));
583 CopyMem (&SectionHeader[Pos], Section, sizeof(EFI_IMAGE_SECTION_HEADER));
595 Section = (EFI_IMAGE_SECTION_HEADER *) &SectionHeader[Index];
680 if (SectionHeader != NULL) {
    [all...]
  /prebuilts/go/darwin-x86/src/debug/elf/
file.go 49 // A SectionHeader represents a single ELF section header.
50 type SectionHeader struct {
71 SectionHeader
371 s.SectionHeader = SectionHeader{
388 s.SectionHeader = SectionHeader{
  /prebuilts/go/linux-x86/src/debug/elf/
file.go 49 // A SectionHeader represents a single ELF section header.
50 type SectionHeader struct {
71 SectionHeader
371 s.SectionHeader = SectionHeader{
388 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...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/
Dispatcher.c 222 EFI_IMAGE_SECTION_HEADER SectionHeader;
257 &SectionHeader
265 if ((SectionHeader.Characteristics & EFI_IMAGE_SCN_CNT_CODE) == 0) {
272 ValueInSectionHeader = ReadUnaligned64((UINT64*)&SectionHeader.PointerToRelocations);
    [all...]

Completed in 1643 milliseconds

1 2