mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
Merge remote-tracking branch
'origin/GP-1673_dev747368_PR-3776_mumbel_big-endian-avail-check' (Closes #2809, Closes #3776)
This commit is contained in:
commit
aa72f2d6d5
1 changed files with 0 additions and 12 deletions
|
@ -635,18 +635,6 @@ public class HighFunctionDBUtil {
|
|||
return null;
|
||||
}
|
||||
Address addr = storage.getFirstVarnode().getAddress();
|
||||
if (storage.size() != dt.getLength() && program.getMemory().isBigEndian()) {
|
||||
// maintain address of lsb
|
||||
long delta = storage.size() - dt.getLength();
|
||||
try {
|
||||
addr = addr.addNoWrap(delta);
|
||||
}
|
||||
catch (AddressOverflowException e) {
|
||||
throw new InvalidInputException(
|
||||
"Unable to resize global storage for " + dt.getName() + " at " + addr);
|
||||
}
|
||||
}
|
||||
|
||||
Listing listing = program.getListing();
|
||||
Data d = listing.getDataAt(addr);
|
||||
if (d != null && d.getDataType().isEquivalent(dt)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue