MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / ReadRegisterOrPointer

Function ReadRegisterOrPointer

arch/armv7/il.cpp:35–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33
34
35static inline ExprId ReadRegisterOrPointer(LowLevelILFunction& il, const InstructionOperand& op, size_t addr)
36{
37 if (op.reg == REG_PC)
38 return il.ConstPointer(4, (addr+8));
39 return il.Register(get_register_size(op.reg), op.reg);
40}
41
42
43ExprId GetCondition(LowLevelILFunction& il, Condition cond)

Callers 3

ReadAddressFunction · 0.85
ReadILOperandFunction · 0.85

Calls 3

get_register_sizeFunction · 0.50
ConstPointerMethod · 0.45
RegisterMethod · 0.45

Tested by

no test coverage detected