fix(ghidra): preserve explicit annotation naming semantics

This commit is contained in:
N0zoM1z0
2026-10-10 23:24:52 +00:00
parent 75881af7aa
commit 8005cad374
3 changed files with 10 additions and 13 deletions
-2
View File
@@ -1041,8 +1041,6 @@ public final class ReaGhidraBridge extends HeadlessScript {
try {
String leafName = params.has("name")
? symbolLeafName(function.getSymbol(), requireString(params, "name")) : null;
if (leafName != null)
requireAvailableAddressName(entry, function.getParentNamespace(), leafName);
// Validate edits through Ghidra's own setters, including name rules.
// A later invalid name must roll back earlier comment writes.
for (String field : List.of("comment", "inline_comment")) {