mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
Merge remote-tracking branch 'origin/GT-3246_ryanmkurtz_PR-1136_kant2002_namspace' into Ghidra_9.1
This commit is contained in:
@@ -1520,7 +1520,7 @@ class XmlImporter:
|
|||||||
if self.has_attribute(structure, NAMESPACE) == False:
|
if self.has_attribute(structure, NAMESPACE) == False:
|
||||||
return
|
return
|
||||||
namespace = self.get_attribute(structure, NAMESPACE)
|
namespace = self.get_attribute(structure, NAMESPACE)
|
||||||
name = namspace + '__' + name
|
name = namespace + '__' + name
|
||||||
name.replace('/','_')
|
name.replace('/','_')
|
||||||
name.replace('.','_')
|
name.replace('.','_')
|
||||||
dtyp = idaapi.get_struc_id(name)
|
dtyp = idaapi.get_struc_id(name)
|
||||||
@@ -1590,7 +1590,7 @@ class XmlImporter:
|
|||||||
if self.has_attribute(union, NAMESPACE) == False:
|
if self.has_attribute(union, NAMESPACE) == False:
|
||||||
return
|
return
|
||||||
namespace = self.get_attribute(union, NAMESPACE)
|
namespace = self.get_attribute(union, NAMESPACE)
|
||||||
name = namspace + '__' + name
|
name = namespace + '__' + name
|
||||||
name.replace('/','_')
|
name.replace('/','_')
|
||||||
name.replace('.','_')
|
name.replace('.','_')
|
||||||
dtyp = idaapi.get_struc_id(name)
|
dtyp = idaapi.get_struc_id(name)
|
||||||
|
|||||||
Reference in New Issue
Block a user