|
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 350 of file IRDynamicChecks.cpp.
◆ msgSend_type
Enumerator |
---|
eMsgSend | |
eMsgSendSuper | |
eMsgSendSuper_stret | |
eMsgSend_fpret | |
eMsgSend_stret | |
Definition at line 359 of file IRDynamicChecks.cpp.
◆ ObjcObjectChecker()
ObjcObjectChecker::ObjcObjectChecker |
( |
llvm::Module & |
module, |
|
|
std::shared_ptr< UtilityFunction > |
checker_function |
|
) |
| |
|
inline |
◆ ~ObjcObjectChecker()
ObjcObjectChecker::~ObjcObjectChecker |
( |
| ) |
|
|
overridedefault |
◆ GetCalledFunction()
static llvm::Function * ObjcObjectChecker::GetCalledFunction |
( |
llvm::CallInst * |
inst | ) |
|
|
inlinestaticprotected |
◆ GetFunction()
static llvm::Function * ObjcObjectChecker::GetFunction |
( |
llvm::Value * |
value | ) |
|
|
inlinestaticprotected |
◆ InspectInstruction()
bool ObjcObjectChecker::InspectInstruction |
( |
llvm::Instruction & |
i | ) |
|
|
inlineoverrideprotectedvirtual |
◆ InstrumentInstruction()
bool ObjcObjectChecker::InstrumentInstruction |
( |
llvm::Instruction * |
inst | ) |
|
|
inlineoverrideprotectedvirtual |
Add instrumentation to a single instruction.
- Parameters
-
[in] | inst | The instruction to be instrumented. |
- Returns
- True on success; false otherwise.
Implements Instrumenter.
Definition at line 370 of file IRDynamicChecks.cpp.
◆ m_objc_object_check_func
llvm::FunctionCallee ObjcObjectChecker::m_objc_object_check_func |
|
private |
◆ msgSend_types
std::map<llvm::Instruction *, msgSend_type> ObjcObjectChecker::msgSend_types |
The documentation for this class was generated from the following file: