[DynInst_API:] [dyninst/dyninst] 5f9282: Add hasControlFlowTarget to Instruction class


Date: Fri, 15 Nov 2024 11:46:58 -0800
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 5f9282: Add hasControlFlowTarget to Instruction class
  Branch: refs/heads/thaines/instruction_hasCFT
  Home:   https://github.com/dyninst/dyninst
  Commit: 5f92820e458347362923c60d5386489aab11847a
      https://github.com/dyninst/dyninst/commit/5f92820e458347362923c60d5386489aab11847a
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2024-11-15 (Fri, 15 Nov 2024)

  Changed paths:
    M dataflowAPI/src/stackanalysis.C
    M dyninstAPI/src/Relocation/Transformers/Movement-adhoc.C
    M instructionAPI/doc/API/Instruction.tex
    M instructionAPI/h/Instruction.h

  Log Message:
  -----------
  Add hasControlFlowTarget to Instruction class

Checks if the instruction has a control flow target. For an Instruction
object insn, these are equivalent:

  if(ins.hasControlFlowTarget())
  if(ins.getControlFlowTarget())

but the first does not do any expression evaluation and can be
substantially cheaper.



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] 5f9282: Add hasControlFlowTarget to Instruction class, Tim Haines <=