mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 02:09:44 +02:00
GP-3680 Add case label tokens
This commit is contained in:
parent
c072972153
commit
fe2f993e11
15 changed files with 415 additions and 138 deletions
|
@ -1260,6 +1260,14 @@ void BlockGraph::printRaw(ostream &s) const
|
|||
(*iter)->printRaw(s);
|
||||
}
|
||||
|
||||
PcodeOp *BlockGraph::firstOp(void) const
|
||||
|
||||
{
|
||||
if (getSize() == 0)
|
||||
return (PcodeOp *)0;
|
||||
return getBlock(0)->firstOp();
|
||||
}
|
||||
|
||||
FlowBlock *BlockGraph::nextFlowAfter(const FlowBlock *bl) const
|
||||
|
||||
{
|
||||
|
@ -2255,6 +2263,13 @@ Address BlockBasic::getStop(void) const
|
|||
return range->getLastAddr();
|
||||
}
|
||||
|
||||
PcodeOp *BlockBasic::firstOp(void) const
|
||||
|
||||
{
|
||||
if (op.empty()) return (PcodeOp *)0;
|
||||
return (PcodeOp *)op.front();
|
||||
}
|
||||
|
||||
PcodeOp *BlockBasic::lastOp(void) const
|
||||
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue