mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
Merge remote-tracking branch 'origin/GP-0_ghidragon_fixing_junit_failures_related_to_AddressEvaluator'
This commit is contained in:
commit
18ef5ceea3
3 changed files with 15 additions and 3 deletions
|
@ -71,7 +71,7 @@ public class AddressEvaluator extends ExpressionEvaluator {
|
|||
public static Address evaluate(Program p, Address baseAddr, String inputExpression) {
|
||||
AddressEvaluator evaluator = new AddressEvaluator(p, true);
|
||||
try {
|
||||
return evaluator.parseAsAddress(inputExpression);
|
||||
return evaluator.parseAsRelativeAddress(inputExpression, baseAddr);
|
||||
}
|
||||
catch (ExpressionException e) {
|
||||
return null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue