mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-5259: Removing FileBytesProvider check from
AbstractLibrarySupportLoader
This commit is contained in:
parent
eaa2a5c6b3
commit
a41fbeda2f
1 changed files with 0 additions and 4 deletions
|
@ -29,7 +29,6 @@ import org.apache.commons.lang3.ObjectUtils;
|
|||
import ghidra.app.util.Option;
|
||||
import ghidra.app.util.OptionUtils;
|
||||
import ghidra.app.util.bin.ByteProvider;
|
||||
import ghidra.app.util.bin.FileBytesProvider;
|
||||
import ghidra.app.util.importer.*;
|
||||
import ghidra.formats.gfilesystem.*;
|
||||
import ghidra.framework.model.*;
|
||||
|
@ -101,9 +100,6 @@ public abstract class AbstractLibrarySupportLoader extends AbstractProgramLoader
|
|||
// Load (or get) the primary program
|
||||
Program program = null;
|
||||
if (!shouldLoadOnlyLibraries(options)) {
|
||||
if (provider instanceof FileBytesProvider) {
|
||||
throw new LoadException("Cannot load an already loaded program");
|
||||
}
|
||||
program = doLoad(provider, loadedName, loadSpec, libraryNameList, options, consumer,
|
||||
log, monitor);
|
||||
loadedProgramList.add(new Loaded<>(program, loadedName, projectFolderPath));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue