mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +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
|
@ -23,14 +23,12 @@
|
|||
// showing it to the user.
|
||||
//@category Import
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.net.URI;
|
||||
import java.nio.file.AccessMode;
|
||||
import java.util.List;
|
||||
|
||||
import generic.continues.RethrowContinuesFactory;
|
||||
import ghidra.app.script.GhidraScript;
|
||||
import ghidra.app.util.bin.FileByteProvider;
|
||||
import ghidra.app.util.bin.format.pe.NTHeader;
|
||||
|
@ -56,8 +54,7 @@ public class GetMSDownloadLinkScript extends GhidraScript {
|
|||
|
||||
try (FileByteProvider bp = new FileByteProvider(f, null, AccessMode.READ)) {
|
||||
monitor.setMessage("Parsing file " + f.getName());
|
||||
PortableExecutable pe = PortableExecutable.createPortableExecutable(
|
||||
RethrowContinuesFactory.INSTANCE, bp, SectionLayout.FILE, false, false);
|
||||
PortableExecutable pe = new PortableExecutable(bp, SectionLayout.FILE, false, false);
|
||||
NTHeader ntHeader = pe.getNTHeader();
|
||||
if (ntHeader != null && ntHeader.getOptionalHeader() != null) {
|
||||
int timeDateStamp = ntHeader.getFileHeader().getTimeDateStamp();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue