mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 02:09:44 +02:00
Merge remote-tracking branch 'origin/GP-3680_DecompilerScalars'
(Closes #5286)
This commit is contained in:
commit
ad13db789d
15 changed files with 415 additions and 138 deletions
|
@ -1266,6 +1266,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
|
||||
|
||||
{
|
||||
|
@ -2261,6 +2269,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