mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
adjustments to resolveConstant
This commit is contained in:
parent
612c0d6f3e
commit
4edff2b9f0
10 changed files with 51 additions and 20 deletions
|
@ -1378,8 +1378,8 @@ public class SleighLanguage implements Language {
|
|||
SpecXmlUtils.encodeSignedIntegerAttribute(resBuf, "index", element.getUnique());
|
||||
|
||||
int size = element.getSize(); // Size in bits
|
||||
if (size == 20) {
|
||||
// TODO: SegmentedAddressSpace shouldn't really return 20
|
||||
if (element instanceof SegmentedAddressSpace) {
|
||||
// TODO: SegmentedAddressSpace shouldn't really return 21
|
||||
size = 32;
|
||||
}
|
||||
if (size > 64) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue