#include <windows.h>
#include <tchar.h>
#include <imagehlp.h>
#include <crtdbg.h>
#include <stdio.h>
#include <limits.h>
#include <string>
|
| LPCTSTR | ProcessCmdLine (int argc, TCHAR *argv[]) |
| bool | CheckDosHeader (PIMAGE_DOS_HEADER pDosHeader) |
| bool | CheckNtHeaders (PIMAGE_NT_HEADERS pNtHeaders) |
| bool | CheckSectionHeaders (PIMAGE_NT_HEADERS pNtHeaders) |
| bool | CheckDebugDirectory (PIMAGE_DEBUG_DIRECTORY pDebugDir, DWORD DebugDirSize) |
| bool | IsPE32Plus (PIMAGE_OPTIONAL_HEADER pOptionalHeader, bool &bPE32Plus) |
| bool | GetDebugDirectoryRVA (PIMAGE_OPTIONAL_HEADER pOptionalHeader, DWORD &DebugDirRva, DWORD &DebugDirSize) |
| bool | GetFileOffsetFromRVA (PIMAGE_NT_HEADERS pNtHeaders, DWORD Rva, DWORD &FileOffset) |
| void | CleanDebugDirectoryEntries (LPBYTE pImageBase, PIMAGE_DEBUG_DIRECTORY pDebugDir, DWORD DebugDirSize, bool clean, bool cleanPath) |
| void | CleanDebugDirectoryEntry (LPBYTE pImageBase, PIMAGE_DEBUG_DIRECTORY pDebugDir, bool clean, bool cleanPath) |
| void | CleanCodeViewDebugInfo (LPBYTE pDebugInfo, DWORD DebugInfoSize, bool clean, bool cleanPath) |
| char * | GetFileName (char *filepath) |
| void | Print (char *message) |
| void | Print (std::string message) |
| char * | GuidToString (GUID guid) |
| LPCTSTR | GetCmd (int argc, TCHAR *argv[]) |
| int | _tmain (int argc, TCHAR *argv[]) |
◆ CV_SIGNATURE_NB10
| #define CV_SIGNATURE_NB10 '01BN' |
◆ CV_SIGNATURE_RSDS
| #define CV_SIGNATURE_RSDS 'SDSR' |
◆ MakePtr
| #define MakePtr |
( |
| cast, |
|
|
| ptr, |
|
|
| addValue ) |
Value:(cast)((DWORD)(ptr) + (DWORD)(addValue))
◆ _tmain()
| int _tmain |
( |
int | argc, |
|
|
TCHAR * | argv[] ) |
◆ CheckDebugDirectory()
| bool CheckDebugDirectory |
( |
PIMAGE_DEBUG_DIRECTORY | pDebugDir, |
|
|
DWORD | DebugDirSize ) |
◆ CheckDosHeader()
| bool CheckDosHeader |
( |
PIMAGE_DOS_HEADER | pDosHeader | ) |
|
◆ CheckNtHeaders()
| bool CheckNtHeaders |
( |
PIMAGE_NT_HEADERS | pNtHeaders | ) |
|
◆ CheckSectionHeaders()
| bool CheckSectionHeaders |
( |
PIMAGE_NT_HEADERS | pNtHeaders | ) |
|
◆ CleanCodeViewDebugInfo()
| void CleanCodeViewDebugInfo |
( |
LPBYTE | pDebugInfo, |
|
|
DWORD | DebugInfoSize, |
|
|
bool | clean, |
|
|
bool | cleanPath ) |
◆ CleanDebugDirectoryEntries()
| void CleanDebugDirectoryEntries |
( |
LPBYTE | pImageBase, |
|
|
PIMAGE_DEBUG_DIRECTORY | pDebugDir, |
|
|
DWORD | DebugDirSize, |
|
|
bool | clean, |
|
|
bool | cleanPath ) |
◆ CleanDebugDirectoryEntry()
| void CleanDebugDirectoryEntry |
( |
LPBYTE | pImageBase, |
|
|
PIMAGE_DEBUG_DIRECTORY | pDebugDir, |
|
|
bool | clean, |
|
|
bool | cleanPath ) |
◆ GetCmd()
| LPCTSTR GetCmd |
( |
int | argc, |
|
|
TCHAR * | argv[] ) |
◆ GetDebugDirectoryRVA()
| bool GetDebugDirectoryRVA |
( |
PIMAGE_OPTIONAL_HEADER | pOptionalHeader, |
|
|
DWORD & | DebugDirRva, |
|
|
DWORD & | DebugDirSize ) |
◆ GetFileName()
| char * GetFileName |
( |
char * | filepath | ) |
|
◆ GetFileOffsetFromRVA()
| bool GetFileOffsetFromRVA |
( |
PIMAGE_NT_HEADERS | pNtHeaders, |
|
|
DWORD | Rva, |
|
|
DWORD & | FileOffset ) |
◆ GuidToString()
| char * GuidToString |
( |
GUID | guid | ) |
|
◆ IsPE32Plus()
| bool IsPE32Plus |
( |
PIMAGE_OPTIONAL_HEADER | pOptionalHeader, |
|
|
bool & | bPE32Plus ) |
◆ Print() [1/2]
| void Print |
( |
char * | message | ) |
|
◆ Print() [2/2]
| void Print |
( |
std::string | message | ) |
|
◆ ProcessCmdLine()
| LPCTSTR ProcessCmdLine |
( |
int | argc, |
|
|
TCHAR * | argv[] ) |