DBG: small fix for modules without extension
This commit is contained in:
parent
2d609acafc
commit
582ec7a77a
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue