[DynInst_API:] [dyninst/dyninst] f670fc: Fix 64-bit jump target truncation in IA_riscv64::i...


Date: Tue, 02 Jun 2026 10:04:19 -0700
From: bbiiggppiigg <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] f670fc: Fix 64-bit jump target truncation in IA_riscv64::i...
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: f670fcf6270087051f58d6851e34effcdfa957a0
      https://github.com/dyninst/dyninst/commit/f670fcf6270087051f58d6851e34effcdfa957a0
  Author: bbiiggppiigg <bbiiggppiigg@xxxxxxxxx>
  Date:   2026-06-02 (Tue, 02 Jun 2026)

  Changed paths:
    M parseAPI/src/IA_riscv64.C

  Log Message:
  -----------
  Fix 64-bit jump target truncation in IA_riscv64::isMultiInsnJump (#2270)

The resolved multi-instruction jump target from ConstantAST::val().val
(uint64_t) was funneled through a uint32_t local before being stored
into *target (Address*). On riscv64 any indirect-branch target above
4 GiB lost its high 32 bits, causing parsing to follow a bogus address.

Widen the local to Address so the full 64-bit target is preserved.

Co-authored-by: Claude Opus 4.8 <noreply@xxxxxxxxxxxxx>



To unsubscribe from these emails, change your notification settings at https://github.com/dyninst/dyninst/settings/notifications
[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] f670fc: Fix 64-bit jump target truncation in IA_riscv64::i..., bbiiggppiigg <=