[DynInst_API:] [dyninst/dyninst] f523c5: Fix overflow of fields in instruction layout (#1476)


Date: Thu, 28 Sep 2023 08:34:12 -0700
From: bbiiggppiigg <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] f523c5: Fix overflow of fields in instruction layout (#1476)
  Branch: refs/heads/bbiiggppiigg/support_gfx940
  Home:   https://github.com/dyninst/dyninst
  Commit: f523c567307cb7918697b02c806434ba37b17209
      https://github.com/dyninst/dyninst/commit/f523c567307cb7918697b02c806434ba37b17209
  Author: bbiiggppiigg <bbiiggppiigg@xxxxxxxxx>
  Date:   2023-09-28 (Thu, 28 Sep 2023)

  Changed paths:
    M instructionAPI/src/AMDGPU/gfx90a/amdgpu_gfx90a_insn_entry.h

  Log Message:
  -----------
  Fix overflow of fields in instruction layout (#1476)

Fields in instruction layouts can have implicit LSBs.

Previously this wasn't taken into consideration,
and causes overflow and decoding instruction.

This PR fixes the layout definition to include the LSBs.


  Commit: d759dcf731e174520b4f0e6c26cff9cb58097b11
      https://github.com/dyninst/dyninst/commit/d759dcf731e174520b4f0e6c26cff9cb58097b11
  Author: bbiiggppiigg <bbiiggppiigg@xxxxxxxxx>
  Date:   2023-09-28 (Thu, 28 Sep 2023)

  Changed paths:
    M instructionAPI/src/AMDGPU/gfx90a/amdgpu_gfx90a_insn_entry.h

  Log Message:
  -----------
  Merge branch 'master' into bbiiggppiigg/support_gfx940


Compare: https://github.com/dyninst/dyninst/compare/cf3196e34019...d759dcf731e1
[← Prev in Thread] Current Thread [Next in Thread→]