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:
ghidravore 2019-08-12 12:44:59 -04:00
parent 6da0d9340d
commit ae5662a50f
19 changed files with 132 additions and 99 deletions

View file

@ -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);
}
}