OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
Macho.c File Reference
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/OcMachoLib.h>
#include <Library/OcMiscLib.h>
#include <string.h>
#include <sys/time.h>
#include <UserFile.h>

Go to the source code of this file.

Functions

STATIC int FeedMacho (IN OUT VOID *File, IN UINT32 Size)
 
int ENTRY_POINT (int argc, char *argv[])
 
int LLVMFuzzerTestOneInput (const uint8_t *Data, size_t Size)
 

Variables

MACH_HEADER_64 mHeader
 
MACH_SECTION_64 mSect
 
MACH_SEGMENT_COMMAND_64 mSeg
 
MACH_UUID_COMMAND mUuid
 

Detailed Description

Copyright (C) 2018, vit9696. All rights reserved.

All rights reserved.

This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

Definition in file Macho.c.

Function Documentation

◆ ENTRY_POINT()

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

Definition at line 310 of file Macho.c.

◆ FeedMacho()

STATIC int FeedMacho ( IN OUT VOID * File,
IN UINT32 Size )

Definition at line 33 of file Macho.c.

◆ LLVMFuzzerTestOneInput()

int LLVMFuzzerTestOneInput ( const uint8_t * Data,
size_t Size )

Definition at line 327 of file Macho.c.

Variable Documentation

◆ mHeader

MACH_HEADER_64 mHeader

Definition at line 26 of file Macho.c.

◆ mSect

Definition at line 27 of file Macho.c.

◆ mSeg

Definition at line 28 of file Macho.c.

◆ mUuid

Definition at line 29 of file Macho.c.