fix info.size not being set in memory fallback path
This commit is contained in:
parent
73b6ce65a2
commit
7d8709e892
|
|
@ -1009,6 +1009,7 @@ bool ModLoad(duint Base, duint Size, const char* FullPath, bool loadSymbols, HAN
|
|||
info.mappedData.realloc(actualSize);
|
||||
if(MemRead(Base, info.mappedData(), info.mappedData.size()))
|
||||
{
|
||||
info.isVirtual = true; // Process memory is SEC_IMAGE mapped
|
||||
info.loadedSize = (DWORD)actualSize;
|
||||
GetModuleInfo(info, (ULONG_PTR)info.mappedData());
|
||||
info.size = HEADER_FIELD(info.headers, SizeOfImage);
|
||||
|
|
|
|||
Loading…
Reference in New Issue