mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-1907: Removing ContinuesInterceptor and associated API
This commit is contained in:
parent
2db3a6be15
commit
96674d4f62
208 changed files with 1125 additions and 3387 deletions
|
@ -1,6 +1,5 @@
|
|||
/* ###
|
||||
* IP: GHIDRA
|
||||
* REVIEWED: YES
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -19,7 +18,9 @@
|
|||
//are placed in the same directory with the processor name appended.
|
||||
//@category Binary
|
||||
|
||||
import generic.continues.RethrowContinuesFactory;
|
||||
import java.io.*;
|
||||
import java.util.List;
|
||||
|
||||
import ghidra.app.script.GhidraScript;
|
||||
import ghidra.app.util.bin.ByteProvider;
|
||||
import ghidra.app.util.bin.RandomAccessByteProvider;
|
||||
|
@ -28,9 +29,6 @@ import ghidra.app.util.bin.format.ubi.FatArch;
|
|||
import ghidra.app.util.bin.format.ubi.FatHeader;
|
||||
import ghidra.program.model.lang.Processor;
|
||||
|
||||
import java.io.*;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
public class SplitUniversalBinariesScript extends GhidraScript {
|
||||
|
||||
|
@ -40,7 +38,7 @@ public class SplitUniversalBinariesScript extends GhidraScript {
|
|||
File outputDirectory = askDirectory("Select Output Directory", "GO");
|
||||
|
||||
ByteProvider provider = new RandomAccessByteProvider(ubiFile) ;
|
||||
FatHeader header = FatHeader.createFatHeader(RethrowContinuesFactory.INSTANCE, provider);
|
||||
FatHeader header = new FatHeader(provider);
|
||||
|
||||
List<FatArch> architectures = header.getArchitectures();
|
||||
for (FatArch arch : architectures) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue