#include <stack.h>
◆ StackAnalysis()
retdec::bin2llvmir::StackAnalysis::StackAnalysis |
( |
| ) |
|
◆ getBaseOffset()
std::optional< int > retdec::bin2llvmir::StackAnalysis::getBaseOffset |
( |
SymbolicTree & |
root | ) |
|
|
private |
◆ getConfigStackVariable()
◆ getDebugStackVariable()
Find a value that is being added to the stack pointer register in root
. Find a debug variable with offset equal to this value.
◆ handleInstruction()
void retdec::bin2llvmir::StackAnalysis::handleInstruction |
( |
ReachingDefinitionsAnalysis & |
RDA, |
|
|
llvm::Instruction * |
inst, |
|
|
llvm::Value * |
val, |
|
|
llvm::Type * |
type, |
|
|
std::map< llvm::Value *, llvm::Value * > & |
val2val |
|
) |
| |
|
private |
◆ run()
bool retdec::bin2llvmir::StackAnalysis::run |
( |
| ) |
|
|
private |
◆ runOnModule()
bool retdec::bin2llvmir::StackAnalysis::runOnModule |
( |
llvm::Module & |
m | ) |
|
|
overridevirtual |
◆ runOnModuleCustom()
bool retdec::bin2llvmir::StackAnalysis::runOnModuleCustom |
( |
llvm::Module & |
m, |
|
|
Config * |
c, |
|
|
Abi * |
abi, |
|
|
DebugFormat * |
dbgf = nullptr |
|
) |
| |
◆ _abi
Abi* retdec::bin2llvmir::StackAnalysis::_abi = nullptr |
|
private |
◆ _config
Config* retdec::bin2llvmir::StackAnalysis::_config = nullptr |
|
private |
◆ _dbgf
DebugFormat* retdec::bin2llvmir::StackAnalysis::_dbgf = nullptr |
|
private |
◆ _module
llvm::Module* retdec::bin2llvmir::StackAnalysis::_module = nullptr |
|
private |
◆ _toRemove
std::unordered_set<llvm::Value*> retdec::bin2llvmir::StackAnalysis::_toRemove |
|
private |
◆ ID
char retdec::bin2llvmir::StackAnalysis::ID = 0 |
|
static |
The documentation for this class was generated from the following files:
- /var/cache/acbs/build/acbs.6bu6osb6/retdec/include/retdec/bin2llvmir/optimizations/stack/stack.h
- /var/cache/acbs/build/acbs.6bu6osb6/retdec/src/bin2llvmir/optimizations/stack/stack.cpp