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

Function GetNumberOfRegs

arch/armv7/il.cpp:638–647  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

636
637
638uint32_t GetNumberOfRegs(uint16_t regList)
639{
640 uint32_t nregs = 0;
641 for (uint32_t i = 0; i < 16; i++)
642 {
643 if (((regList >> i) & 1) == 1)
644 nregs++;
645 }
646 return nregs;
647}
648
649
650void ConditionExecute(size_t addrSize, Condition cond, Instruction& instr, LowLevelILFunction& il,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected