mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-19 16:40:38 -09:00
Merge remote-tracking branch 'origin/patch'
This commit is contained in:
@@ -281,7 +281,7 @@ public class GenericAddress implements Address {
|
|||||||
}
|
}
|
||||||
long mod = 0;
|
long mod = 0;
|
||||||
if (unitSize > 1) {
|
if (unitSize > 1) {
|
||||||
mod = displayOffset % unitSize;
|
mod = Long.remainderUnsigned(displayOffset, unitSize);
|
||||||
displayOffset = addrSpace.getAddressableWordOffset(displayOffset);
|
displayOffset = addrSpace.getAddressableWordOffset(displayOffset);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -294,7 +294,7 @@ public class GenericAddress implements Address {
|
|||||||
buf.append(addressString);
|
buf.append(addressString);
|
||||||
if (mod != 0) {
|
if (mod != 0) {
|
||||||
buf.append('.');
|
buf.append('.');
|
||||||
buf.append(mod);
|
buf.append(Long.toHexString(mod));
|
||||||
}
|
}
|
||||||
if (stackFormat) {
|
if (stackFormat) {
|
||||||
buf.append(STACK_ADDRESS_SUFFIX);
|
buf.append(STACK_ADDRESS_SUFFIX);
|
||||||
|
|||||||
Reference in New Issue
Block a user