mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-06-01 06:25:26 +08:00
Fixed recent Decompiler location regressions
This commit is contained in:
+5
@@ -37,6 +37,11 @@ public class FunctionNameDecompilerLocation extends FunctionNameFieldLocation
|
||||
this.info = info;
|
||||
}
|
||||
|
||||
public FunctionNameDecompilerLocation() {
|
||||
// for restoring from xml
|
||||
info = new DecompilerLocationInfo();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Address getFunctionEntryPoint() {
|
||||
return info.getFunctionEntryPoint();
|
||||
|
||||
+5
@@ -38,6 +38,11 @@ public class VariableDecompilerLocation extends VariableLocFieldLocation
|
||||
this.info = info;
|
||||
}
|
||||
|
||||
public VariableDecompilerLocation() {
|
||||
// for restoring from xml
|
||||
info = new DecompilerLocationInfo();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Address getFunctionEntryPoint() {
|
||||
return info.getFunctionEntryPoint();
|
||||
|
||||
Reference in New Issue
Block a user