OpenCore
1.0.4
OpenCore Bootloader
|
#include "../Include/Uefi.h"
#include <Library/BaseMemoryLib.h>
#include <Library/BaseOverflowLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/PeCoffLib2.h>
#include <Library/DebugLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <stdio.h>
#include <string.h>
#include <UserFile.h>
#include <UserMemory.h>
Go to the source code of this file.
Functions | |
STATIC BOOLEAN | HashUpdate (IN OUT VOID *HashContext, IN CONST VOID *Data, IN UINTN DataLength) |
STATIC EFI_STATUS | PeCoffTestRtReloc (IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *Context) |
STATIC EFI_STATUS | PeCoffTestLoad (IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *Context, OUT VOID *Destination, IN UINT32 DestinationSize) |
STATIC VOID | LoadConfig (IN CONST UINT8 *Data, IN UINTN Size) |
STATIC EFI_STATUS | PeCoffTestLoadFull (IN CONST VOID *FileBuffer, IN UINT32 FileSize) |
int | LLVMFuzzerTestOneInput (const uint8_t *Data, size_t Size) |
int | ENTRY_POINT (int argc, char *argv[]) |
Variables | |
STATIC UINT64 | mHashesMask = MAX_UINT64 |
STATIC UINTN | mHashIndex = 0 |
STATIC UINTN | mHashDependency |
Copyright (c) 2018, vit9696. All rights reserved. SPDX-License-Identifier: BSD-3-Clause
Definition in file PeCoff.c.
STATIC BOOLEAN HashUpdate | ( | IN OUT VOID * | HashContext, |
IN CONST VOID * | Data, | ||
IN UINTN | DataLength ) |
STATIC VOID LoadConfig | ( | IN CONST UINT8 * | Data, |
IN UINTN | Size ) |
STATIC EFI_STATUS PeCoffTestLoad | ( | IN OUT PE_COFF_LOADER_IMAGE_CONTEXT * | Context, |
OUT VOID * | Destination, | ||
IN UINT32 | DestinationSize ) |
STATIC EFI_STATUS PeCoffTestLoadFull | ( | IN CONST VOID * | FileBuffer, |
IN UINT32 | FileSize ) |
STATIC EFI_STATUS PeCoffTestRtReloc | ( | IN OUT PE_COFF_LOADER_IMAGE_CONTEXT * | Context | ) |