From a9a0cff42bf98bfdc83ca02298bbe75e325c1f83 Mon Sep 17 00:00:00 2001 From: eientei95 Date: Thu, 11 Dec 2025 08:51:55 +1300 Subject: [PATCH] Update for Ghidra 12 getPermissions() was renamed to getFlags() --- RustDependencyStrings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RustDependencyStrings.py b/RustDependencyStrings.py index ce961fc..4e7c3e0 100644 --- a/RustDependencyStrings.py +++ b/RustDependencyStrings.py @@ -18,7 +18,7 @@ lambda x: x.isInitialized(), currentProgram.getMemory().getBlocks() ) -rw_sections = filter(lambda x: x.getPermissions() & 1 == 0, initialized_sections) +rw_sections = filter(lambda x: x.getFlags() & 1 == 0, initialized_sections) string_data = "" for section in rw_sections: