forked from kyleavery/TitanLdr
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLdr.h
More file actions
42 lines (35 loc) · 653 Bytes
/
Ldr.h
File metadata and controls
42 lines (35 loc) · 653 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/**
*
* Reflective Loader
*
* GuidePoint Security LLC
*
* Threat and Attack SimulatioN
*
**/
#pragma once
/*!
*
* Purpose:
*
* Resolves the required imports and fills
* in their respective entries.
*
!*/
D_SEC( E ) VOID LdrProcessIat( _In_ PVOID Image, _In_ PVOID Directory );
/*!
*
* Purpose:
*
* Relocates the PE based on its relative base.
*
!*/
D_SEC( E ) VOID LdrProcessRel( _In_ PVOID Image, _In_ PVOID Directory, _In_ PVOID ImageBase );
/*!
*
* Purpose:
*
* Applies a hook the import table of a PE.
*
!*/
D_SEC( E ) VOID LdrHookImport( _In_ PVOID Image, _In_ PVOID Directory, _In_ ULONG Hash, _In_ PVOID Function );