mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +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
|
@ -1433,7 +1433,7 @@ public class SleighLanguage implements Language {
|
|||
if ((element instanceof OverlayAddressSpace)) {
|
||||
OverlayAddressSpace ospace = (OverlayAddressSpace) element;
|
||||
resBuf.append("<space_overlay");
|
||||
SpecXmlUtils.encodeStringAttribute(resBuf, "name", ospace.getName());
|
||||
SpecXmlUtils.xmlEscapeAttribute(resBuf, "name", ospace.getName());
|
||||
SpecXmlUtils.encodeSignedIntegerAttribute(resBuf, "index", ospace.getUnique());
|
||||
SpecXmlUtils.encodeStringAttribute(resBuf, "base",
|
||||
ospace.getOverlayedSpace().getName());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue