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

Function ExtractBit

arch/arm64/il.cpp:1166–1169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1164}
1165
1166static ExprId ExtractBit(LowLevelILFunction& il, InstructionOperand& reg, size_t bit)
1167{
1168 return il.And(REGSZ_O(reg), ILREG_O(reg), il.Const(REGSZ_O(reg), (1 << bit)));
1169}
1170
1171static void ConditionalJump(Architecture* arch, LowLevelILFunction& il, size_t cond,
1172 size_t addrSize, uint64_t t, uint64_t f)

Callers 1

Calls 2

AndMethod · 0.45
ConstMethod · 0.45

Tested by

no test coverage detected