From 6bb28d2888a0250ea164a1195fd8fd411c042fc4 Mon Sep 17 00:00:00 2001 From: robojumper Date: Sun, 3 Nov 2024 23:56:46 +0100 Subject: [PATCH] Fix creating function names without namespace --- tools/ghidra_scripts/DecompMapToGhidra.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ghidra_scripts/DecompMapToGhidra.py b/tools/ghidra_scripts/DecompMapToGhidra.py index 0484abb9..1def00c3 100644 --- a/tools/ghidra_scripts/DecompMapToGhidra.py +++ b/tools/ghidra_scripts/DecompMapToGhidra.py @@ -235,7 +235,7 @@ def update_addr(addr, mangled_name, create_function=False): createLabel(addr, symbol_str, namespace, True, IMPORTED) if create_function: - createFunction(addr, name_list[-1]) + createFunction(addr, None) if symbol_needs_history(mangled_name): unit.setComment(PLATE_COMMENT, complete_plate_comment)