Merge remote-tracking branch 'origin/GP-6434_dev747368_rust_elf_binary_id'

This commit is contained in:
Ryan Kurtz
2026-03-17 05:04:07 -04:00
18 changed files with 79 additions and 59 deletions

View File

@@ -107,7 +107,7 @@ public class Lisa_ResolveX86orX64LinuxSyscallsScript extends GhidraScript {
@Override
protected void run() throws Exception {
if (!(currentProgram.getExecutableFormat().equals(ElfLoader.ELF_NAME) &&
if (!(ElfLoader.isElf(currentProgram) &&
currentProgram.getLanguage().getProcessor().toString().equals(X86))) {
popup("This script is intended for x86 or x64 Linux files");
return;