retdec
Public Member Functions | Public Attributes | List of all members
retdec::llvmir_emul::LocalExecutionContext Class Reference

#include <llvmir_emul.h>

Collaboration diagram for retdec::llvmir_emul::LocalExecutionContext:
Collaboration graph
[legend]

Public Member Functions

 LocalExecutionContext ()
 
 LocalExecutionContext (LocalExecutionContext &o)=default
 
 LocalExecutionContext (LocalExecutionContext &&o)
 
LocalExecutionContextoperator= (LocalExecutionContext &&o)
 
LocalExecutionContextoperator= (LocalExecutionContext &o)=default
 
llvm::Module * getModule () const
 

Public Attributes

llvm::Function * curFunction = nullptr
 The currently executing function. More...
 
llvm::BasicBlock * curBB = nullptr
 The currently executing BB. More...
 
llvm::BasicBlock::iterator curInst
 The next instruction to execute. More...
 
llvm::CallSite caller
 
AllocaHolder allocas
 Track memory allocated by alloca. More...
 

Constructor & Destructor Documentation

◆ LocalExecutionContext() [1/3]

retdec::llvmir_emul::LocalExecutionContext::LocalExecutionContext ( )

◆ LocalExecutionContext() [2/3]

retdec::llvmir_emul::LocalExecutionContext::LocalExecutionContext ( LocalExecutionContext o)
default

◆ LocalExecutionContext() [3/3]

retdec::llvmir_emul::LocalExecutionContext::LocalExecutionContext ( LocalExecutionContext &&  o)

Member Function Documentation

◆ getModule()

llvm::Module * retdec::llvmir_emul::LocalExecutionContext::getModule ( ) const

◆ operator=() [1/2]

LocalExecutionContext & retdec::llvmir_emul::LocalExecutionContext::operator= ( LocalExecutionContext &&  o)

◆ operator=() [2/2]

LocalExecutionContext& retdec::llvmir_emul::LocalExecutionContext::operator= ( LocalExecutionContext o)
default

Member Data Documentation

◆ allocas

AllocaHolder retdec::llvmir_emul::LocalExecutionContext::allocas

Track memory allocated by alloca.

◆ caller

llvm::CallSite retdec::llvmir_emul::LocalExecutionContext::caller

Holds the call that called subframes. NULL if main func or debugger invoked fn

◆ curBB

llvm::BasicBlock* retdec::llvmir_emul::LocalExecutionContext::curBB = nullptr

The currently executing BB.

◆ curFunction

llvm::Function* retdec::llvmir_emul::LocalExecutionContext::curFunction = nullptr

The currently executing function.

◆ curInst

llvm::BasicBlock::iterator retdec::llvmir_emul::LocalExecutionContext::curInst

The next instruction to execute.


The documentation for this class was generated from the following files: