mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-12-01 16:41:45 +00:00
GP-2604: Fixing issue with empty program list
This commit is contained in:
parent
bb68f37885
commit
a64afa37a7
@ -135,6 +135,9 @@ public abstract class AbstractLibrarySupportLoader extends AbstractProgramLoader
|
||||
@Override
|
||||
protected void postLoadProgramFixups(List<LoadedProgram> loadedPrograms, List<Option> options,
|
||||
MessageLog messageLog, TaskMonitor monitor) throws CancelledException, IOException {
|
||||
if (loadedPrograms.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
if (isLinkExistingLibraries(options) || isLoadLocalLibraries(options) ||
|
||||
isLoadSystemLibraries(options)) {
|
||||
DomainFolder programFolder = loadedPrograms.get(0).destinationFolder();
|
||||
|
Loading…
Reference in New Issue
Block a user