mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
Escape overlay address space names
This commit is contained in:
parent
79b9e9a6ec
commit
8be023ada9
4 changed files with 11 additions and 8 deletions
|
@ -415,8 +415,9 @@ void PcodeOp::saveXml(ostream &s) const
|
|||
else if (vn->getSpace()->getType()==IPTR_CONSTANT) {
|
||||
if ((i==0)&&((code()==CPUI_STORE)||(code()==CPUI_LOAD))) {
|
||||
AddrSpace *spc = Address::getSpaceFromConst(vn->getAddr());
|
||||
s << "<spaceid name=\"";
|
||||
s << spc->getName() << "\"/>\n";
|
||||
s << "<spaceid";
|
||||
a_v(s,"name",spc->getName());
|
||||
s << "/>\n";
|
||||
}
|
||||
else
|
||||
s << "<addr ref=\"0x" << hex << vn->getCreateIndex() << "\"/>\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue