mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-01-09 22:17:55 -05:00
GP-5865 Add reference dialog fix for address spaces that have a wordsize
greater than one byte
This commit is contained in:
@@ -148,7 +148,7 @@ public class AddressEvaluator extends ExpressionEvaluator {
|
||||
long offset = longValue.getLongValue();
|
||||
AddressSpace space = getAddressSpace();
|
||||
try {
|
||||
return space.getAddressInThisSpaceOnly(offset);
|
||||
return space.getAddressInThisSpaceOnly(offset*space.getAddressableUnitSize());
|
||||
}
|
||||
catch (AddressOutOfBoundsException e) {
|
||||
throw new ExpressionException(e.getMessage());
|
||||
|
||||
Reference in New Issue
Block a user