OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
TestNtfsDxe.c File Reference
#include <NTFS.h>
#include <Helper.h>
#include <UserFile.h>
#include <UserGlobalVar.h>

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI FuzzReadDisk (IN EFI_DISK_IO_PROTOCOL *This, IN UINT32 MediaId, IN UINT64 Offset, IN UINTN BufferSize, OUT VOID *Buffer)
 
VOID FreeAll (IN CHAR16 *FileName, IN EFI_FS *Instance)
 
INT32 LLVMFuzzerTestOneInput (CONST UINT8 *FuzzData, UINTN FuzzSize)
 
int ENTRY_POINT (int argc, char **argv)
 

Variables

UINTN mFuzzOffset
 
UINTN mFuzzSize
 
CONST UINT8 * mFuzzPointer
 

Detailed Description

Copyright (c) 2022, Mikhail Krichanov. All rights reserved. SPDX-License-Identifier: BSD-3-Clause

Definition in file TestNtfsDxe.c.

Function Documentation

◆ ENTRY_POINT()

int ENTRY_POINT ( int argc,
char ** argv )

Definition at line 265 of file TestNtfsDxe.c.

◆ FreeAll()

VOID FreeAll ( IN CHAR16 * FileName,
IN EFI_FS * Instance )

Definition at line 42 of file TestNtfsDxe.c.

◆ FuzzReadDisk()

EFI_STATUS EFIAPI FuzzReadDisk ( IN EFI_DISK_IO_PROTOCOL * This,
IN UINT32 MediaId,
IN UINT64 Offset,
IN UINTN BufferSize,
OUT VOID * Buffer )

Definition at line 18 of file TestNtfsDxe.c.

◆ LLVMFuzzerTestOneInput()

INT32 LLVMFuzzerTestOneInput ( CONST UINT8 * FuzzData,
UINTN FuzzSize )

Definition at line 75 of file TestNtfsDxe.c.

Variable Documentation

◆ mFuzzOffset

UINTN mFuzzOffset

Definition at line 12 of file TestNtfsDxe.c.

◆ mFuzzPointer

CONST UINT8* mFuzzPointer

Definition at line 14 of file TestNtfsDxe.c.

◆ mFuzzSize

UINTN mFuzzSize

Definition at line 13 of file TestNtfsDxe.c.