From ce37accf24dd26d493c966a85c953279ac22b2c9 Mon Sep 17 00:00:00 2001 From: Nicolas Iooss Date: Tue, 14 Jul 2026 16:16:37 +0200 Subject: [PATCH] Do not normalize build_exe in pcodetests definitions In pcodetests definition, build_exe is an integer set to 1 when an executable may be built. Contrary to other *_exe fields, it is not the name of a command and therefore should not be normalized with exec_dir. Fixes: 71cd33572c87 ("GP-6007: Updated NDS32 analyzer and elf relocation handler and test fixups") --- Ghidra/Extensions/SleighDevTools/pcodetest/pcodetest.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Ghidra/Extensions/SleighDevTools/pcodetest/pcodetest.py b/Ghidra/Extensions/SleighDevTools/pcodetest/pcodetest.py index 42e0604168..33f9287d6d 100644 --- a/Ghidra/Extensions/SleighDevTools/pcodetest/pcodetest.py +++ b/Ghidra/Extensions/SleighDevTools/pcodetest/pcodetest.py @@ -91,7 +91,6 @@ class PCodeTestBuild(BuildUtil): # make sure compiler exists and runnable self.config.compile_exe = self.config.exec_dir + self.config.exec_prefix + self.config.compile_exe - self.config.build_exe = self.config.exec_dir + str(self.config.exec_prefix) + str(self.config.build_exe) self.config.strip_exe = self.config.exec_dir + str(self.config.exec_prefix) + str(self.config.strip_exe) self.config.objdump_exe = self.config.exec_dir + str(self.config.exec_prefix) + str(self.config.objdump_exe) self.config.readelf_exe = self.config.exec_dir + str(self.config.exec_prefix) + str(self.config.readelf_exe)