Merge remote-tracking branch 'origin/GP-5353_James_DWARF_dw_lns_const_add_pc' into patch

This commit is contained in:
ghidra1
2025-02-18 11:39:25 -05:00

View File

@@ -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: {