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

Method GetExprForRegisterOrConstant

lowlevelil.cpp:486–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

484
485
486ExprId LowLevelILFunction::GetExprForRegisterOrConstant(const BNRegisterOrConstant& operand, size_t size)
487{
488 if (operand.constant)
489 return AddExpr(LLIL_CONST, size, 0, operand.value);
490 return AddExpr(LLIL_REG, size, 0, operand.reg);
491}
492
493
494ExprId LowLevelILFunction::GetNegExprForRegisterOrConstant(const BNRegisterOrConstant& operand, size_t size)

Callers 3

Calls

no outgoing calls

Tested by

no test coverage detected