import lief.ghidra.plugins.analyzers.pe.LoadConfigurationAnalyzer; import lief.ghidra.plugins.analyzers.pe.ExceptionsAnalyzer; import lief.ghidra.plugins.analyzers.elf.RelocationsAnalyzer; import ghidra.app.script.GhidraScript; import ghidra.app.services.Analyzer; import ghidra.app.util.exporter.AsciiExporter; import ghidra.app.util.importer.MessageLog; import ghidra.app.util.Option; import ghidra.program.model.listing.CodeUnit; import java.io.File; import java.util.List; public class RunAnalyzers extends GhidraScript { @Override public void run() throws Exception { MessageLog log = new MessageLog(); String prefix = System.getProperty("lief.test.prefix"); File testDir = new File(System.getProperty("lief.test.dir")); if (!testDir.isDirectory()) { throw new RuntimeException(String.format("%s does not exist", testDir.getAbsolutePath())); } AsciiExporter exporter = new AsciiExporter(); List