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

Function SetRegisterOrBranch

arch/armv7/il.cpp:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24
25
26static inline ExprId SetRegisterOrBranch(LowLevelILFunction& il, enum Register reg, ExprId expr, uint32_t flags=0)
27{
28 if (reg == REG_PC)
29 return il.Jump(expr);
30 else
31 return il.SetRegister(get_register_size(reg), reg, expr, flags);
32}
33
34
35static inline ExprId ReadRegisterOrPointer(LowLevelILFunction& il, const InstructionOperand& op, size_t addr)

Callers 4

LoadFunction · 0.85
LoadPairFunction · 0.85
StorePairFunction · 0.85

Calls 3

SetRegisterMethod · 0.80
get_register_sizeFunction · 0.50
JumpMethod · 0.45

Tested by

no test coverage detected