GT-3481 - Gnu Demangler - Checkpoint 1 - Separation of demangler

analyzers; gnu options in analyzer; still require javadocs, help and
tests
This commit is contained in:
dragonmacher 2020-02-11 15:46:43 -05:00
parent b6fb46f5df
commit b774ecb2d6
22 changed files with 1231 additions and 267 deletions

View file

@ -75,6 +75,7 @@ public class DemangleElfWithOptionScript extends GhidraScript {
return;
}
// TODO change to GnuDemanglerOptions
DemanglerOptions options = new DemanglerOptions();
options.setDoDisassembly(false);
options.setApplySignature(true);
@ -113,6 +114,7 @@ public class DemangleElfWithOptionScript extends GhidraScript {
return executableFormat != null && executableFormat.indexOf(MachoLoader.MACH_O_NAME) != -1;
}
/// TODO this is here because we did not support program arguments. replace this code
private Process createProcess(String executableName) throws Exception {
String demanglerName = GnuDemanglerNativeProcess.DEMANGLER_GNU;