libPeConv
A library to load, manipulate, dump PE files.
Loading...
Searching...
No Matches
exports_lookup.cpp File Reference
#include "peconv/exports_lookup.h"
#include "peconv/util.h"
#include <iostream>

Go to the source code of this file.

Macros

#define TO_LOWERCASE(c1)
 

Functions

bool is_wanted_func (LPCSTR curr_name, LPCSTR wanted_name)
 
bool is_ordinal (IMAGE_EXPORT_DIRECTORY *exp, LPCSTR func_name)
 
FARPROC get_export_by_ord (PVOID modulePtr, IMAGE_EXPORT_DIRECTORY *exp, DWORD wanted_ordinal)
 

Macro Definition Documentation

◆ TO_LOWERCASE

#define TO_LOWERCASE ( c1)
Value:
c1 = (c1 <= 'Z' && c1 >= 'A') ? c1 = (c1 - 'A') + 'a': c1;

Definition at line 23 of file exports_lookup.cpp.

Function Documentation

◆ get_export_by_ord()

FARPROC get_export_by_ord ( PVOID modulePtr,
IMAGE_EXPORT_DIRECTORY * exp,
DWORD wanted_ordinal )

Definition at line 56 of file exports_lookup.cpp.

Here is the call graph for this function:

◆ is_ordinal()

bool is_ordinal ( IMAGE_EXPORT_DIRECTORY * exp,
LPCSTR func_name )

Definition at line 45 of file exports_lookup.cpp.

◆ is_wanted_func()

bool is_wanted_func ( LPCSTR curr_name,
LPCSTR wanted_name )

Definition at line 26 of file exports_lookup.cpp.