mirror of
https://github.com/x64dbg/x64dbg.git
synced 2024-11-26 22:30:22 +00:00
DBG: sync mnemdb with the latest idaref
This commit is contained in:
parent
4272d3518f
commit
83e1705985
2194
bin/mnemdb.json
2194
bin/mnemdb.json
File diff suppressed because one or more lines are too long
@ -672,7 +672,12 @@ bool cbInstrMnemonichelp(int argc, char* argv[])
|
||||
else
|
||||
{
|
||||
auto padding = "================================================================";
|
||||
auto logText = StringUtils::sprintf("%s%s%s\n", padding, description.c_str(), padding);
|
||||
String logText = padding;
|
||||
logText += '\n';
|
||||
logText += description;
|
||||
logText += '\n';
|
||||
logText += padding;
|
||||
logText += '\n';
|
||||
GuiAddLogMessage(logText.c_str());
|
||||
}
|
||||
return true;
|
||||
|
@ -48,7 +48,7 @@ static bool loadFromText()
|
||||
auto mnem = json_string_value(json_object_get(value, "mnem"));
|
||||
auto description = json_string_value(json_object_get(value, "description"));
|
||||
if(mnem && description)
|
||||
MnemonicMap[StringUtils::ToLower(mnem)] = description;
|
||||
MnemonicMap.emplace(StringUtils::ToLower(mnem), StringUtils::Trim(description));
|
||||
}
|
||||
}
|
||||
|
||||
@ -65,7 +65,7 @@ static bool loadFromText()
|
||||
auto mnem = json_string_value(json_object_get(value, "mnem"));
|
||||
auto description = json_string_value(json_object_get(value, "description"));
|
||||
if(mnem && description)
|
||||
MnemonicBriefMap[mnem] = description;
|
||||
MnemonicBriefMap.emplace(mnem, StringUtils::Trim(description));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user