mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
GP-3161: Some emulation framework improvements.
This commit is contained in:
parent
a9baf9f6d8
commit
2b6ea93c9c
18 changed files with 112 additions and 45 deletions
|
@ -355,7 +355,10 @@ public class DefaultPcodeThread<T> implements PcodeThread<T> {
|
|||
@Override
|
||||
public void overrideContextWithDefault() {
|
||||
if (contextreg != Register.NO_CONTEXT) {
|
||||
overrideContext(defaultContext.getDefaultValue(contextreg, counter));
|
||||
RegisterValue defaultValue = defaultContext.getDefaultValue(contextreg, counter);
|
||||
if (defaultValue != null) {
|
||||
overrideContext(defaultValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue