1
0
Fork 0

DBG: small fix for modules without extension

This commit is contained in:
Mr. eXoDia 2016-08-17 21:21:19 +02:00
parent 2d609acafc
commit 582ec7a77a
2 changed files with 2 additions and 1 deletions

View File

@ -2339,7 +2339,7 @@ CMDRESULT cbInstrAnalxrefs(int argc, char* argv[])
return STATUS_CONTINUE;
}
CMDRESULT cbInstrVirtualmod(int argc, char* argv[]) //virtualmod base, size, "name"
CMDRESULT cbInstrVirtualmod(int argc, char* argv[])
{
if(argc < 3)
{

View File

@ -58,6 +58,7 @@ bool ModLoad(duint Base, duint Size, const char* FullPath)
// Copy the module path in the struct
MODINFO info;
memset(&info, 0, sizeof(info));
strcpy_s(info.path, FullPath);
// Break the module path into a directory and file name