OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
Img4.c File Reference
#include <stdint.h>
#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include <UserFile.h>
#include <Protocol/AppleSecureBoot.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/OcCryptoLib.h>
#include <libDER/oids.h>
#include <libDERImg4/Img4oids.h>
#include <libDERImg4/libDERImg4.h>

Go to the source code of this file.

Functions

STATIC VOID InternalDebugEnvInfo (IN CONST DERImg4Environment *Env)
 
STATIC INT32 DebugManifest (IN CONST CHAR8 *ManifestName)
 
STATIC INT32 VerifyImg4 (IN CONST CHAR8 *ImageName, IN CONST CHAR8 *ManifestName, IN CONST CHAR8 *type)
 
int ENTRY_POINT (int argc, char *argv[])
 
int LLVMFuzzerTestOneInput (const uint8_t *Data, size_t Size)
 

Function Documentation

◆ DebugManifest()

STATIC INT32 DebugManifest ( IN CONST CHAR8 * ManifestName)

Definition at line 53 of file Img4.c.

◆ ENTRY_POINT()

int ENTRY_POINT ( int argc,
char * argv[] )

Definition at line 192 of file Img4.c.

◆ InternalDebugEnvInfo()

STATIC VOID InternalDebugEnvInfo ( IN CONST DERImg4Environment * Env)

Definition at line 20 of file Img4.c.

◆ LLVMFuzzerTestOneInput()

int LLVMFuzzerTestOneInput ( const uint8_t * Data,
size_t Size )

Definition at line 231 of file Img4.c.

◆ VerifyImg4()

STATIC INT32 VerifyImg4 ( IN CONST CHAR8 * ImageName,
IN CONST CHAR8 * ManifestName,
IN CONST CHAR8 * type )

Definition at line 124 of file Img4.c.