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

Function ConditionExecute

arch/armv7/il.cpp:112–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110
111
112static void ConditionExecute(LowLevelILFunction& il, Condition cond, ExprId trueCase)
113{
114 LowLevelILLabel trueCode, falseCode;
115 if (UNCONDITIONAL(cond))
116 {
117 il.AddInstruction(trueCase);
118 return;
119 }
120
121 il.AddInstruction(il.If(GetCondition(il, cond), trueCode, falseCode));
122 il.MarkLabel(trueCode);
123 il.AddInstruction(trueCase);
124 il.MarkLabel(falseCode);
125}
126
127
128static ExprId GetShifted(LowLevelILFunction& il, Register reg, uint32_t ShiftAmount, Shift shift)

Callers 1

Calls 5

GetConditionFunction · 0.70
AddInstructionMethod · 0.45
IfMethod · 0.45
MarkLabelMethod · 0.45
GotoMethod · 0.45

Tested by

no test coverage detected