Skip to content

Ghidra is a software reverse engineering (SRE) framework

Fix typo. I cannot find anything related to other issues described in the original issue. Version 7.x was fixed earlier. Fixes #559

Andrii Kurdiumov5afdec1883e2
diff --git a/GhidraBuild/IDAPro/Python/6xx/loaders/xmlldr.py b/GhidraBuild/IDAPro/Python/6xx/loaders/xmlldr.py
index 9463adf29f..df43daa5b8 100644
--- a/GhidraBuild/IDAPro/Python/6xx/loaders/xmlldr.py
+++ b/GhidraBuild/IDAPro/Python/6xx/loaders/xmlldr.py
@@ -1520,7 +1520,7 @@ class XmlImporter:
if self.has_attribute(structure, NAMESPACE) == False:
return
namespace = self.get_attribute(structure, NAMESPACE)
- name = namspace + '__' + name
+ name = namespace + '__' + name
name.replace('/','_')
name.replace('.','_')
dtyp = idaapi.get_struc_id(name)
@@ -1590,7 +1590,7 @@ class XmlImporter:
if self.has_attribute(union, NAMESPACE) == False:
return
namespace = self.get_attribute(union, NAMESPACE)
- name = namspace + '__' + name
+ name = namespace + '__' + name
name.replace('/','_')
name.replace('.','_')
dtyp = idaapi.get_struc_id(name)