libPeConv
A library to load, manipulate, dump PE files.
Macros | Functions
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)   c1 = (c1 <= 'Z' && c1 >= 'A') ? c1 = (c1 - 'A') + 'a': c1;
 

Functions

bool is_wanted_func (LPSTR curr_name, LPSTR wanted_name)
 
bool is_ordinal (IMAGE_EXPORT_DIRECTORY *exp, LPSTR 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)    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,
LPSTR  func_name 
)

Definition at line 45 of file exports_lookup.cpp.

◆ is_wanted_func()

bool is_wanted_func ( LPSTR  curr_name,
LPSTR  wanted_name 
)

Definition at line 26 of file exports_lookup.cpp.