mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
GT-3129 PDB GUID validation and help fixes
This commit is contained in:
parent
48afcf41ab
commit
8d70a68f4e
2 changed files with 3 additions and 2 deletions
|
@ -129,7 +129,7 @@ public class PdbSymbolServerPlugin extends Plugin {
|
|||
downloadPdbAction.setMenuBarData(menuData);
|
||||
|
||||
downloadPdbAction.setEnabled(false);
|
||||
downloadPdbAction.setHelpLocation(new HelpLocation("PDB", downloadPdbAction.getName()));
|
||||
downloadPdbAction.setHelpLocation(new HelpLocation("Pdb", downloadPdbAction.getName()));
|
||||
tool.addAction(downloadPdbAction);
|
||||
}
|
||||
|
||||
|
|
|
@ -61,7 +61,8 @@ int PDBApiContext::init(const std::wstring& szFilename, const std::wstring& szSi
|
|||
}
|
||||
else if (!szSignature.empty() && !szAge.empty()) {
|
||||
GUID guid = {};
|
||||
const HRESULT guidConv = CLSIDFromString(szSignature.c_str(), &guid);
|
||||
std::wstring bracedGuidString = L"{" + szSignature + L"}";;
|
||||
const HRESULT guidConv = CLSIDFromString(bracedGuidString.c_str(), &guid);
|
||||
|
||||
const DWORD age = wcstol(szAge.c_str(), NULL, 16);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue