mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 09:49:23 +02: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:
parent
6da0d9340d
commit
ae5662a50f
19 changed files with 132 additions and 99 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue