Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-83 Added XML limit property to launch.properties

ghidra1998258a44217
diff --git a/Ghidra/RuntimeScripts/Common/support/launch.properties b/Ghidra/RuntimeScripts/Common/support/launch.properties
index be3256a7b1..05dab23e0e 100644
--- a/Ghidra/RuntimeScripts/Common/support/launch.properties
+++ b/Ghidra/RuntimeScripts/Common/support/launch.properties
@@ -80,3 +80,6 @@ VMARGS_WINDOWS=-Dlog4j.skipJansi=true
# generates uncaught exceptions. Disabling it can be helpful when trying to debug what went
# wrong because the ContinuesIntercepter affects the usefulness of the stack trace.
#VMARGS=-DContinuesInterceptor.disabled=true
+
+# Limit on XML parsing. See https://docs.oracle.com/javase/tutorial/jaxp/limits/limits.html
+#VMARGS=-Djdk.xml.totalEntitySizeLimit=50000000