[DynInst_API:] [dyninst/dyninst] 8f302f: Fixed conditional branch instruction generation fo...


Date: Mon, 10 Apr 2017 14:07:15 -0700
From: Sunny Shah <shah28@xxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 8f302f: Fixed conditional branch instruction generation fo...
  Branch: refs/heads/arm64/feature/relocation
  Home:   https://github.com/dyninst/dyninst
  Commit: 8f302fa0d9c22008f9e8b1a91c5ecb15deebf476
      https://github.com/dyninst/dyninst/commit/8f302fa0d9c22008f9e8b1a91c5ecb15deebf476
  Author: Sunny Shah <shah28@xxxxxxxx>
  Date:   2017-04-10 (Mon, 10 Apr 2017)

  Changed paths:
    M dyninstAPI/src/codegen-aarch64.C

  Log Message:
  -----------
  Fixed conditional branch instruction generation for short displacements

For displacements that are in range in the modifyJCC function, only bits
5-23  of the instruction need to be modified to set the new
displacement. That way, all conditional instructions (B.cond, CBZ, CBNZ,
TBZ, TBNZ) are taken into account.


[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] 8f302f: Fixed conditional branch instruction generation fo..., Sunny Shah <=