[DynInst_API:] [dyninst/dyninst] 5ad794: Prevent fallthrough analysis of amdgpu swap/set pc...


Date: Tue, 21 Feb 2023 11:39:25 -0800
From: Bolo -- Josef Burger <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 5ad794: Prevent fallthrough analysis of amdgpu swap/set pc...
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: 5ad79439de5468982f9ba878e916403f2c8671ec
      https://github.com/dyninst/dyninst/commit/5ad79439de5468982f9ba878e916403f2c8671ec
  Author: Bolo <bolo@xxxxxxxxxxx>
  Date:   2023-02-20 (Mon, 20 Feb 2023)

  Changed paths:
    M instructionAPI/src/Instruction.C

  Log Message:
  -----------
  Prevent fallthrough analysis of amdgpu swap/set pc instructions.

Both amdgpu setpc and swappc instructions are _not_
fallthrough branch instructions.  We need to stop analysis
at that instruction.

The CDNA2 (MI200) instructions of swappc and ssetpc were
missing.  They have been added for similar fallthrough
prevention on that architecture.


  Commit: 1f624a6af15b6b7bdacd15fa363353a9b11175b9
      https://github.com/dyninst/dyninst/commit/1f624a6af15b6b7bdacd15fa363353a9b11175b9
  Author: Bolo -- Josef Burger <bigtrak@xxxxxxxxxxxxxxxxxxxxxxxx>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

  Changed paths:
    M instructionAPI/src/Instruction.C

  Log Message:
  -----------
  Merge pull request #1376 from dyninst/bolo/amdgpu_branch_fallthrough

Prevent fall-through analysis of amd gpu swap/set pc instructions.


Compare: https://github.com/dyninst/dyninst/compare/72bc4c6de1ba...1f624a6af15b
[← Prev in Thread] Current Thread [Next in Thread→]