Clean up comment typos from copy/pasta
parent
96b892a546
commit
c08f45223d
|
@ -315,11 +315,11 @@ DLLEXPORT ULONG_PTR WINAPI ReflectiveLoader( VOID )
|
||||||
// uiValueB = the address of the import directory
|
// uiValueB = the address of the import directory
|
||||||
uiValueB = (ULONG_PTR)&((PIMAGE_NT_HEADERS)uiHeaderValue)->OptionalHeader.DataDirectory[ IMAGE_DIRECTORY_ENTRY_IMPORT ];
|
uiValueB = (ULONG_PTR)&((PIMAGE_NT_HEADERS)uiHeaderValue)->OptionalHeader.DataDirectory[ IMAGE_DIRECTORY_ENTRY_IMPORT ];
|
||||||
|
|
||||||
// we assume their is an import table to process
|
// we assume there is an import table to process
|
||||||
// uiValueC is the first entry in the import table
|
// uiValueC is the first entry in the import table
|
||||||
uiValueC = ( uiBaseAddress + ((PIMAGE_DATA_DIRECTORY)uiValueB)->VirtualAddress );
|
uiValueC = ( uiBaseAddress + ((PIMAGE_DATA_DIRECTORY)uiValueB)->VirtualAddress );
|
||||||
|
|
||||||
// itterate through all imports
|
// iterate through all imports
|
||||||
while( ((PIMAGE_IMPORT_DESCRIPTOR)uiValueC)->Name )
|
while( ((PIMAGE_IMPORT_DESCRIPTOR)uiValueC)->Name )
|
||||||
{
|
{
|
||||||
// use LoadLibraryA to load the imported module into memory
|
// use LoadLibraryA to load the imported module into memory
|
||||||
|
|
Loading…
Reference in New Issue