[DynInst_API:] [dyninst/dyninst] f7a197: Add category helpers to Instruction class (#1813)


Date: Thu, 14 Nov 2024 08:47:37 -0800
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] f7a197: Add category helpers to Instruction class (#1813)
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: f7a19747c96aeacda6a1c3611a61258818f28b8b
      https://github.com/dyninst/dyninst/commit/f7a19747c96aeacda6a1c3611a61258818f28b8b
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-11-14 (Thu, 14 Nov 2024)

  Changed paths:
    M dataflowAPI/src/liveness.C
    M dataflowAPI/src/stackanalysis.C
    M dyninstAPI/src/BPatch_basicBlock.C
    M dyninstAPI/src/Relocation/CFG/RelocBlock.C
    M dyninstAPI/src/Relocation/Transformers/Movement-adhoc.C
    M dyninstAPI/src/Relocation/Transformers/Movement-analysis.C
    M dyninstAPI/src/StackMod/StackAccess.C
    M dyninstAPI/src/ast.C
    M dyninstAPI/src/hybridInstrumentation.C
    M dyninstAPI/src/image.C
    M dyninstAPI/src/mapped_object.C
    M instructionAPI/h/Instruction.h
    M instructionAPI/src/Instruction.C
    M parseAPI/src/IA_IAPI.C
    M parseAPI/src/IA_aarch64.C
    M parseAPI/src/IA_amdgpu.C
    M parseAPI/src/IA_power.C
    M parseAPI/src/IA_x86.C
    M parseAPI/src/IndirectAnalyzer.C
    M parseAPI/src/Parser.C

  Log Message:
  -----------
  Add category helpers to Instruction class (#1813)

getCategory() assumes there is only one category per instruction, but
that restriction will be removed when using the Capstone decoder and the
function deprecated. These helpers will make it easier for users to
check behavior without having to know how it's being tracked in
Instruction.

This makes IA_IAPI::hasCFT() more expensive, but it will be much
cheaper as we move more architectures to Capstone.



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] f7a197: Add category helpers to Instruction class (#1813), Tim Haines <=