|
bool | InstrumentInstruction (llvm::Instruction *inst) override |
| Add instrumentation to a single instruction.
|
|
bool | InspectInstruction (llvm::Instruction &i) override |
| Determine whether a single instruction is interesting to instrument, and, if so, call RegisterInstruction.
|
|
virtual bool | InstrumentInstruction (llvm::Instruction *inst)=0 |
| Add instrumentation to a single instruction.
|
|
void | RegisterInstruction (llvm::Instruction &inst) |
| Register a single instruction to be instrumented.
|
|
virtual bool | InspectInstruction (llvm::Instruction &i) |
| Determine whether a single instruction is interesting to instrument, and, if so, call RegisterInstruction.
|
|
virtual bool | InspectBasicBlock (llvm::BasicBlock &bb) |
| Scan a basic block to see if any instructions are interesting.
|
|
virtual bool | InspectFunction (llvm::Function &f) |
| Scan a function to see if any instructions are interesting.
|
|
llvm::FunctionCallee | BuildPointerValidatorFunc (lldb::addr_t start_address) |
| Build a function pointer for a function with signature void (*)(uint8_t*) with a given address.
|
|
llvm::FunctionCallee | BuildObjectCheckerFunc (lldb::addr_t start_address) |
| Build a function pointer for a function with signature void (*)(uint8_t*, uint8_t*) with a given address.
|
|
PointerType * | GetI8PtrTy () |
|
IntegerType * | GetIntptrTy () |
|
Definition at line 304 of file IRDynamicChecks.cpp.
◆ ValidPointerChecker()
ValidPointerChecker::ValidPointerChecker |
( |
llvm::Module & |
module, |
|
|
std::shared_ptr< UtilityFunction > |
checker_function |
|
) |
| |
|
inline |
◆ ~ValidPointerChecker()
ValidPointerChecker::~ValidPointerChecker |
( |
| ) |
|
|
overridedefault |
◆ InspectInstruction()
bool ValidPointerChecker::InspectInstruction |
( |
llvm::Instruction & |
i | ) |
|
|
inlineoverrideprotectedvirtual |
Determine whether a single instruction is interesting to instrument, and, if so, call RegisterInstruction.
- Parameters
-
[in] | i | The instruction to be inspected. |
- Returns
- False if there was an error scanning; true otherwise.
Reimplemented from Instrumenter.
Definition at line 339 of file IRDynamicChecks.cpp.
◆ InstrumentInstruction()
bool ValidPointerChecker::InstrumentInstruction |
( |
llvm::Instruction * |
inst | ) |
|
|
inlineoverrideprotectedvirtual |
◆ m_valid_pointer_check_func
llvm::FunctionCallee ValidPointerChecker::m_valid_pointer_check_func |
|
private |
The documentation for this class was generated from the following file: