mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 02:09:44 +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
|
@ -20,7 +20,6 @@ import java.io.ByteArrayInputStream;
|
|||
import java.io.File;
|
||||
import java.util.List;
|
||||
|
||||
import generic.continues.RethrowContinuesFactory;
|
||||
import ghidra.app.script.GhidraScript;
|
||||
import ghidra.app.util.bin.ByteProvider;
|
||||
import ghidra.app.util.bin.RandomAccessByteProvider;
|
||||
|
@ -29,7 +28,8 @@ import ghidra.app.util.bin.format.macho.Section;
|
|||
import ghidra.app.util.bin.format.macho.commands.*;
|
||||
import ghidra.program.model.address.Address;
|
||||
import ghidra.program.model.symbol.*;
|
||||
import ghidra.util.*;
|
||||
import ghidra.util.DataConverter;
|
||||
import ghidra.util.StringUtilities;
|
||||
|
||||
public class MachoProcessBindScript extends GhidraScript {
|
||||
|
||||
|
@ -49,11 +49,7 @@ public class MachoProcessBindScript extends GhidraScript {
|
|||
}
|
||||
ByteProvider provider = new RandomAccessByteProvider( file ) ;
|
||||
try {
|
||||
MachHeader header = MachHeader.createMachHeader( RethrowContinuesFactory.INSTANCE, provider );
|
||||
if ( header == null ) {
|
||||
popup( "unable to create mach header from original file" );
|
||||
return;
|
||||
}
|
||||
MachHeader header = new MachHeader(provider);
|
||||
header.parse();
|
||||
List<DyldInfoCommand> commands = header.getLoadCommands( DyldInfoCommand.class );
|
||||
for ( DyldInfoCommand command : commands ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue