mirror of
https://github.com/x64dbg/x64dbg.git
synced 2025-02-22 22:11:55 +00:00
DBG: fixed a bug with the '=' sign (non-existent variables were seen as invalid)
This commit is contained in:
parent
70a91a06fc
commit
b4c264ad8b
@ -242,7 +242,7 @@ static void specialformat(char* string)
|
||||
}
|
||||
else
|
||||
{
|
||||
if(isvalidexpression(string) && isvalidexpression(found))
|
||||
if(isvalidexpression(found))
|
||||
sprintf(str, "mov %s,%s", string, found);
|
||||
else
|
||||
strcpy(str, backup);
|
||||
|
@ -175,6 +175,7 @@ bool plugincmdregister(int pluginHandle, const char* command, CBPLUGINCOMMAND cb
|
||||
if(!cmdnew(dbggetcommandlist(), command, (CBCOMMAND)cbCommand, debugonly))
|
||||
return false;
|
||||
pluginCommandList.push_back(plugCmd);
|
||||
dprintf("[PLUGIN] command \"%s\" registered!\n", command);
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -190,6 +191,7 @@ bool plugincmdunregister(int pluginHandle, const char* command)
|
||||
if(!cmddel(dbggetcommandlist(), command))
|
||||
return false;
|
||||
pluginCommandList.erase(pluginCommandList.begin()+i);
|
||||
dprintf("[PLUGIN] command \"%s\" unregistered!\n", command);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user