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

Method GetConstant

lowlevelilinstruction.cpp:2640–2646  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2638
2639
2640int64_t LowLevelILInstruction::GetConstant() const
2641{
2642 size_t operandIndex;
2643 if (GetOperandIndexForUsage(ConstantLowLevelOperandUsage, operandIndex))
2644 return GetRawOperandAsInteger(operandIndex);
2645 throw LowLevelILInstructionAccessException();
2646}
2647
2648
2649uint64_t LowLevelILInstruction::GetOffset() const

Callers 10

RecognizeLowLevelILMethod · 0.45
GetExprTextMethod · 0.45
GetExprTextInternalMethod · 0.45
AnalyzeStandardFunctionFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Tested by

no test coverage detected