Home | History | Annotate | Download | only in BasePeCoffLib

Lines Matching full:coff

2   Base PE/COFF loader supports loading any PE32/PE32+ or TE image, but

6 This library will have external input - PE/COFF image.
11 necessary data range check, to make sure when this library reads PE/COFF image, the
15 PeCoffLoaderGetPeHeader() routine will do basic check for PE/COFF header.
16 PeCoffLoaderGetImageInfo() routine will do basic check for whole PE/COFF image.
50 Retrieves the magic value from the PE/COFF header.
65 // in the PE/COFF Header. If the MachineType is Itanium(IA64) and the
73 // Return the magic value from the PC/COFF Optional Header
80 Retrieves the PE or TE Header from a PE/COFF or TE image.
83 PE/COFF image is external input, so this routine will
91 @retval Other The error status from reading the PE/COFF or TE image using the ImageRead function.
141 // Read the PE/COFF Header. For PE32 (32-bit) this will read in too much
466 // If the PE/COFF loader does not support the image type return
562 Retrieves information about a PE/COFF image.
568 If the PE/COFF image accessed through the ImageRead service in the ImageContext
569 structure is not a supported PE/COFF image type, then return RETURN_UNSUPPORTED.
577 PE/COFF image is external input, so this routine will
581 @param ImageContext The pointer to the image context structure that describes the PE/COFF
584 @retval RETURN_SUCCESS The information on the PE/COFF image was collected.
586 @retval RETURN_UNSUPPORTED The PE/COFF image is not supported.
830 // a multiple of Section Alignment). Per the PE/COFF specification, the
905 Applies relocation fixups to a PE/COFF image that was loaded with PeCoffLoaderLoadImage().
921 prior to transferring control to a PE/COFF image that is loaded using this library.
923 @param ImageContext The pointer to the image context structure that describes the PE/COFF
926 @retval RETURN_SUCCESS The PE/COFF image was relocated.
928 @retval RETURN_LOAD_ERROR The image in not a valid PE/COFF image.
972 // to a PE/COFF image if needed
1018 // Per the PE/COFF spec, you can't assume that a given data directory
1178 // to a PE/COFF image if needed
1185 Loads a PE/COFF image into memory.
1187 Loads the PE/COFF image accessed through the ImageRead service of ImageContext into the buffer
1199 prior to transferring control to a PE/COFF image that is loaded using this library.
1201 @param ImageContext The pointer to the image context structure that describes the PE/COFF
1204 @retval RETURN_SUCCESS The PE/COFF image was loaded into the buffer specified by
1209 @retval RETURN_LOAD_ERROR The PE/COFF image is an EFI Runtime image with no relocations.
1309 // Read the entire PE/COFF or TE header into memory
1444 // Per the PE/COFF spec, you can't assume that a given data directory
1679 This function reapplies relocation fixups to the PE/COFF image specified by ImageBase
1680 and ImageSize so the image will execute correctly when the PE/COFF image is mapped
1683 after this PE/COFF image was relocated with PeCoffLoaderRelocateImage().
1687 prior to transferring control to a PE/COFF image that is loaded using this library.
1689 @param ImageBase The base address of a PE/COFF image that has been loaded
1691 @param VirtImageBase The request virtual address that the PE/COFF image is to
1693 @param ImageSize The size, in bytes, of the PE/COFF image.
1694 @param RelocationData A pointer to the relocation data that was collected when the PE/COFF
1774 // Per the PE/COFF spec, you can't assume that a given data directory
1890 Reads contents of a PE/COFF image from a buffer in system memory.
1893 that assumes FileHandle pointer to the beginning of a PE/COFF image.
1894 This function reads contents of the PE/COFF image that starts at the system memory
1896 PE/COFF image starting at byte offset FileOffset into the buffer specified by Buffer.
1906 @param FileOffset Offset into the PE/COFF image to begin the read operation.
1909 @param Buffer Output buffer that contains the data read from the PE/COFF image.
1932 Unloads a loaded PE/COFF image from memory and releases its taken resource.
1936 For NT32 emulator, the PE/COFF image loaded by system needs to release.
1937 For real platform, the PE/COFF image loaded by Core doesn't needs to be unloaded,
1942 @param ImageContext The pointer to the image context structure that describes the PE/COFF
1945 @retval RETURN_SUCCESS The PE/COFF image was unloaded successfully.
1955 // PE/COFF image if needed