mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 02:09:44 +02:00
GP-5832 Update inline target op when inlining a subfunction
This commit is contained in:
parent
0bd8870da3
commit
80d66023a9
5 changed files with 56 additions and 8 deletions
|
@ -4,9 +4,9 @@
|
|||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
|
@ -148,6 +148,7 @@ public:
|
|||
void clearFlags(uint4 val) { flags &= ~val; } ///< Disable a specific option
|
||||
PcodeOp *target(const Address &addr) const; ///< Return first p-code op for instruction at given address
|
||||
PcodeOp *branchTarget(PcodeOp *op) const; ///< Find the target referred to by a given BRANCH or CBRANCH
|
||||
void updateTarget(PcodeOp *oldOp,PcodeOp *newOp); ///< Update the branch target for an inlined p-code op
|
||||
void generateOps(void); ///< Generate raw control-flow from the function's base address
|
||||
void generateBlocks(void); ///< Generate basic blocks from the raw control-flow
|
||||
bool testHardInlineRestrictions(Funcdata *inlinefd,PcodeOp *op,Address &retaddr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue