mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-10-19 18:12:14 -09:00
Merge remote-tracking branch 'origin/GP-3700_Dan_fixDsPic33fReturn' into
patch (Closes #5609)
This commit is contained in:
@@ -411,7 +411,9 @@ public class PcodeExecutor<T> {
|
||||
* @param frame the frame to finish
|
||||
*/
|
||||
protected void branchToOffset(T offset, PcodeFrame frame) {
|
||||
state.setVar(pc, offset);
|
||||
T truncOff = arithmetic.unaryOp(PcodeOp.COPY, pc.getMinimumByteSize(),
|
||||
(int) arithmetic.sizeOf(offset), offset);
|
||||
state.setVar(pc, truncOff);
|
||||
frame.finishAsBranch();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user