Skip to content

Ghidra is a software reverse engineering (SRE) framework

Update idaxml.py

ZERO-A-ONEa312aaabb1ed
diff --git a/GhidraBuild/IDAPro/Python/9xx/python/idaxml.py b/GhidraBuild/IDAPro/Python/9xx/python/idaxml.py
index de39bff254..5fe9e3e011 100644
--- a/GhidraBuild/IDAPro/Python/9xx/python/idaxml.py
+++ b/GhidraBuild/IDAPro/Python/9xx/python/idaxml.py
@@ -2206,6 +2206,9 @@ class XmlExporter(IdaXml):
signedhex: Boolean indicating if hex representation of
value is signed.
"""
+ # Check if value is None and handle it gracefully
+ if value is None:
+ return
if base == 10:
temp = "%d" % value
else: