Analysis for finding out which functions can be indirectly called.
More...
#include <indirectly_called_funcs_analysis.h>
|
static std::set< llvm::Function * > | getFuncsForIndirectCalls (const std::set< llvm::CallInst * > &call, llvm::Module::FunctionListType &funcsToCheck) |
| Tries to find functions that can be called by indirect calls. More...
|
|
static std::set< llvm::Function * > | getFuncsForIndirectCall (const llvm::CallInst &call, const std::vector< llvm::Function * > &funcsToCheck) |
| Tries to find functions that can be called by indirect call. More...
|
|
Analysis for finding out which functions can be indirectly called.
◆ getFuncsForIndirectCall()
std::set< llvm::Function * > retdec::bin2llvmir::IndirectlyCalledFuncsAnalysis::getFuncsForIndirectCall |
( |
const llvm::CallInst & |
call, |
|
|
const std::vector< llvm::Function * > & |
funcsToCheck |
|
) |
| |
|
static |
Tries to find functions that can be called by indirect call.
- Preconditions
- callInst is a call that calls some function indirectly.
- Parameters
-
[in] | call | We try to find functions for this indirect call. |
[in] | funcsToCheck | We are finding functions that can be indirectly called only in this functions. |
- Returns
- Found functions that can be called indirectly.
◆ getFuncsForIndirectCalls()
std::set< llvm::Function * > retdec::bin2llvmir::IndirectlyCalledFuncsAnalysis::getFuncsForIndirectCalls |
( |
const std::set< llvm::CallInst * > & |
call, |
|
|
llvm::Module::FunctionListType & |
funcsToCheck |
|
) |
| |
|
static |
Tries to find functions that can be called by indirect calls.
- Preconditions
- callInsts are a calls that calls some function indirectly.
- Parameters
-
[in] | call | We try to find functions for this indirect calls. |
[in] | funcsToCheck | We are finding functions that can be indirectly called only in this functions. |
- Returns
- Found functions that can be called indirectly.
The documentation for this class was generated from the following files: