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

Function Pop

arch/armv7/thumb2_disasm/il_thumb2.cpp:504–516  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

502
503
504static void Pop(LowLevelILFunction& il, uint32_t regs)
505{
506 for (int32_t i = 0; i <= 15; i++)
507 {
508 if (((regs >> i) & 1) == 1)
509 {
510 if (i == 15)
511 il.AddInstruction(il.Return(il.Pop(4)));
512 else
513 il.AddInstruction(il.SetRegister(4, GetRegisterByIndex(i), il.Pop(4)));
514 }
515 }
516}
517
518
519static bool WritesToStatus(decomp_result* instr, bool ifThenBlock)

Callers 1

Calls 5

GetRegisterByIndexFunction · 0.85
SetRegisterMethod · 0.80
AddInstructionMethod · 0.45
ReturnMethod · 0.45
PopMethod · 0.45

Tested by

no test coverage detected