mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
Merge remote-tracking branch 'origin/GP-5353_James_DWARF_dw_lns_const_add_pc' into patch
This commit is contained in:
@@ -244,7 +244,7 @@ public final class DWARFLineProgramExecutor implements Closeable {
|
|||||||
case DW_LNS_const_add_pc: {
|
case DW_LNS_const_add_pc: {
|
||||||
int adjustedOpcode = 255 - opcodeBase;
|
int adjustedOpcode = 255 - opcodeBase;
|
||||||
int addressIncrement = adjustedOpcode / lineRange;
|
int addressIncrement = adjustedOpcode / lineRange;
|
||||||
state.address += (addressIncrement & 0xff);
|
state.address += minInstrLen * (addressIncrement & 0xff);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case DW_LNS_fixed_advanced_pc: {
|
case DW_LNS_fixed_advanced_pc: {
|
||||||
|
|||||||
Reference in New Issue
Block a user