Process Hacker
main.c File Reference
#include <ph.h>
#include <md5.h>
#include <sha.h>

Go to the source code of this file.

Macros

#define FI_ARG_HELP   1
 
#define FI_ARG_ACTION   2
 
#define FI_ARG_NATIVE   3
 
#define FI_ARG_PATTERN   4
 
#define FI_ARG_CASESENSITIVE   5
 
#define FI_ARG_OUTPUT   6
 
#define FI_ARG_FORCE   7
 
#define FI_ARG_LENGTH   8
 
#define HASH_MD5   1
 
#define HASH_SHA1   2
 
#define HASH_CRC32   3
 
#define COPY_BUFFER_SIZE   0x10000
 

Functions

VOID FiPrintHelp (VOID)
 
PPH_STRING FiFormatFileName (_In_ PPH_STRING FileName)
 
BOOLEAN FiCreateFile (_Out_ PHANDLE FileHandle, _In_ ACCESS_MASK DesiredAccess, _In_ PPH_STRING FileName, _In_opt_ ULONG FileAttributes, _In_ ULONG ShareAccess, _In_ ULONG CreateDisposition, _In_opt_ ULONG Options)
 
BOOLEAN NTAPI FipEnumDirectoryFileForDir (_In_ PFILE_DIRECTORY_INFORMATION Information, _In_opt_ PVOID Context)
 
int __cdecl main (int argc, char *argv[])
 

Variables

PPH_STRING FiArgFileName
 
BOOLEAN FiArgHelp
 
PPH_STRING FiArgAction
 
BOOLEAN FiArgNative
 
PPH_STRING FiArgPattern
 
BOOLEAN FiArgCaseSensitive
 
PPH_STRING FiArgOutput
 
BOOLEAN FiArgForce
 
ULONG64 FiArgLength = MAXULONG64
 
ULONG64 FipDirFileCount
 
ULONG64 FipDirDirCount
 
ULONG64 FipDirTotalSize
 
ULONG64 FipDirTotalAllocSize
 

Macro Definition Documentation

#define COPY_BUFFER_SIZE   0x10000
#define FI_ARG_ACTION   2

Definition at line 28 of file main.c.

#define FI_ARG_CASESENSITIVE   5

Definition at line 31 of file main.c.

#define FI_ARG_FORCE   7

Definition at line 33 of file main.c.

#define FI_ARG_HELP   1

Definition at line 27 of file main.c.

#define FI_ARG_LENGTH   8

Definition at line 34 of file main.c.

#define FI_ARG_NATIVE   3

Definition at line 29 of file main.c.

#define FI_ARG_OUTPUT   6

Definition at line 32 of file main.c.

#define FI_ARG_PATTERN   4

Definition at line 30 of file main.c.

#define HASH_CRC32   3

Definition at line 38 of file main.c.

#define HASH_MD5   1

Definition at line 36 of file main.c.

#define HASH_SHA1   2

Definition at line 37 of file main.c.

Function Documentation

BOOLEAN FiCreateFile ( _Out_ PHANDLE  FileHandle,
_In_ ACCESS_MASK  DesiredAccess,
_In_ PPH_STRING  FileName,
_In_opt_ ULONG  FileAttributes,
_In_ ULONG  ShareAccess,
_In_ ULONG  CreateDisposition,
_In_opt_ ULONG  Options 
)

Definition at line 201 of file main.c.

PPH_STRING FiFormatFileName ( _In_ PPH_STRING  FileName)

Definition at line 131 of file main.c.

BOOLEAN NTAPI FipEnumDirectoryFileForDir ( _In_ PFILE_DIRECTORY_INFORMATION  Information,
_In_opt_ PVOID  Context 
)

Definition at line 286 of file main.c.

VOID FiPrintHelp ( VOID  )

Definition at line 102 of file main.c.

int __cdecl main ( int  argc,
char *  argv[] 
)

Definition at line 331 of file main.c.

Variable Documentation

PPH_STRING FiArgAction

Definition at line 42 of file main.c.

BOOLEAN FiArgCaseSensitive

Definition at line 45 of file main.c.

PPH_STRING FiArgFileName

Definition at line 40 of file main.c.

BOOLEAN FiArgForce

Definition at line 47 of file main.c.

BOOLEAN FiArgHelp

Definition at line 41 of file main.c.

ULONG64 FiArgLength = MAXULONG64

Definition at line 48 of file main.c.

BOOLEAN FiArgNative

Definition at line 43 of file main.c.

PPH_STRING FiArgOutput

Definition at line 46 of file main.c.

PPH_STRING FiArgPattern

Definition at line 44 of file main.c.

ULONG64 FipDirDirCount

Definition at line 51 of file main.c.

ULONG64 FipDirFileCount

Definition at line 50 of file main.c.

ULONG64 FipDirTotalAllocSize

Definition at line 53 of file main.c.

ULONG64 FipDirTotalSize

Definition at line 52 of file main.c.