#include "peconv/relocate.h"
#include "peconv/pe_hdrs_helper.h"
#include <stdio.h>
#include <iostream>
Go to the source code of this file.
|
bool | is_empty_reloc_block (BASE_RELOCATION_ENTRY *block, SIZE_T entriesNum, DWORD page, PVOID modulePtr, SIZE_T moduleSize) |
|
bool | process_reloc_block (BASE_RELOCATION_ENTRY *block, SIZE_T entriesNum, DWORD page, PVOID modulePtr, SIZE_T moduleSize, bool is64bit, RelocBlockCallback *callback) |
|
bool | apply_relocations (PVOID modulePtr, SIZE_T moduleSize, ULONGLONG newBase, ULONGLONG oldBase) |
|
◆ RELOC_32BIT_FIELD
#define RELOC_32BIT_FIELD 3 |
◆ RELOC_64BIT_FIELD
#define RELOC_64BIT_FIELD 0xA |
◆ apply_relocations()
bool apply_relocations |
( |
PVOID | modulePtr, |
|
|
SIZE_T | moduleSize, |
|
|
ULONGLONG | newBase, |
|
|
ULONGLONG | oldBase ) |
◆ is_empty_reloc_block()
bool is_empty_reloc_block |
( |
BASE_RELOCATION_ENTRY * | block, |
|
|
SIZE_T | entriesNum, |
|
|
DWORD | page, |
|
|
PVOID | modulePtr, |
|
|
SIZE_T | moduleSize ) |
◆ process_reloc_block()