Manual image mapper
More...
#include <MMap.h>
|
|
BLACKBONE_API | MMap (class Process &proc) |
| |
| BLACKBONE_API const ModuleData * | MapImage (const std::wstring &path, eLoadFlags flags=NoFlags, LdrCallback ldrCallback=nullptr, void *ldrContext=nullptr) |
| | Manually map PE image into underlying target process More...
|
| |
| BLACKBONE_API const ModuleData * | MapImage (size_t size, void *buffer, bool asImage=false, eLoadFlags flags=NoFlags, LdrCallback ldrCallback=nullptr, void *ldrContext=nullptr) |
| | Manually map PE image into underlying target process More...
|
| |
| BLACKBONE_API bool | UnmapAllModules () |
| | Unmap all manually mapped modules More...
|
| |
| BLACKBONE_API void | Cleanup () |
| | Remove any traces from remote process More...
|
| |
| BLACKBONE_API void | reset () |
| | Reset local data More...
|
| |
|
|
static BLACKBONE_API void * | g_pImageBase = nullptr |
| |
|
static BLACKBONE_API size_t | g_imageSize = 0 |
| |
|
BLACKBONE_API | MExcept (class Process &proc) |
| |
| BLACKBONE_API NTSTATUS | CreateVEH (size_t pTargetBase, size_t imageSize, eModType mt, bool partial) |
| | Inject VEH wrapper into process Used to enable execution of SEH handlers out of image More...
|
| |
| BLACKBONE_API NTSTATUS | RemoveVEH (bool partial) |
| | Removes VEH from target process More...
|
| |
| void blackbone::MMap::Cleanup |
( |
| ) |
|
Remove any traces from remote process
- Returns
| const ModuleData * blackbone::MMap::MapImage |
( |
const std::wstring & |
path, |
|
|
eLoadFlags |
flags = NoFlags, |
|
|
LdrCallback |
ldrCallback = nullptr, |
|
|
void * |
ldrContext = nullptr |
|
) |
| |
Manually map PE image into underlying target process
- Parameters
-
| path | Image path |
| flags | Image mapping flags |
| ldrCallback | Loader callback. Triggers for each mapped module |
| ldrContext | User-supplied Loader callback context |
- Returns
- Mapped image info
| const ModuleData * blackbone::MMap::MapImage |
( |
size_t |
size, |
|
|
void * |
buffer, |
|
|
bool |
asImage = false, |
|
|
eLoadFlags |
flags = NoFlags, |
|
|
LdrCallback |
ldrCallback = nullptr, |
|
|
void * |
ldrContext = nullptr |
|
) |
| |
Manually map PE image into underlying target process
- Parameters
-
| buffer | Image data buffer |
| size | Buffer size. |
| asImage | If set to true - buffer has image memory layout |
| flags | Image mapping flags |
| ldrCallback | Loader callback. Triggers for each mapped module |
| ldrContext | User-supplied Loader callback context |
- Returns
- Mapped image info
| BLACKBONE_API void blackbone::MMap::reset |
( |
| ) |
|
|
inline |
| bool blackbone::MMap::UnmapAllModules |
( |
| ) |
|
Unmap all manually mapped modules
- Returns
- true on success
The documentation for this class was generated from the following files:
- C:/Users/Ton/Documents/visual studio 2013/projects/blackbone/src/BlackBone/ManualMap/MMap.h
- C:/Users/Ton/Documents/visual studio 2013/projects/blackbone/src/BlackBone/ManualMap/MMap.cpp