mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GT-3079 Added checking to binary loader to check for memory conflicts
before loading in the "add to program" case.
This commit is contained in:
@@ -73,11 +73,11 @@ public class SkeletonLoader extends AbstractLibrarySupportLoader {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String validateOptions(ByteProvider provider, LoadSpec loadSpec, List<Option> options) {
|
||||
public String validateOptions(ByteProvider provider, LoadSpec loadSpec, List<Option> options, Program program) {
|
||||
|
||||
// TODO: If this loader has custom options, validate them here. Not all options require
|
||||
// validation.
|
||||
|
||||
return super.validateOptions(provider, loadSpec, options);
|
||||
return super.validateOptions(provider, loadSpec, options, program);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user