mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
GP-5240 Simplify late expressions where a SUBPIECE is taken of a PIECE
This commit is contained in:
parent
acf5ac688a
commit
53d8d182e3
15 changed files with 215 additions and 88 deletions
|
@ -4,9 +4,9 @@
|
|||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
|
@ -254,7 +254,7 @@ void PrintLanguage::pushSymbolDetail(const Varnode *vn,const PcodeOp *op,bool is
|
|||
}
|
||||
if (symboloff + vn->getSize() <= sym->getType()->getSize()) {
|
||||
int4 inslot = isRead ? op->getSlot(vn) : -1;
|
||||
pushPartialSymbol(sym,symboloff,vn->getSize(),vn,op,inslot);
|
||||
pushPartialSymbol(sym,symboloff,vn->getSize(),vn,op,inslot,isRead);
|
||||
}
|
||||
else
|
||||
pushMismatchSymbol(sym,symboloff,vn->getSize(),vn,op);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue