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

Method GetPossibleRegisterValuesAfterInstruction

lowlevelil.cpp:881–892  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

879
880
881PossibleValueSet LowLevelILFunction::GetPossibleRegisterValuesAfterInstruction(
882 uint32_t reg, size_t instr, const set<BNDataFlowQueryOption>& options)
883{
884 BNDataFlowQueryOption* optionArray = new BNDataFlowQueryOption[options.size()];
885 size_t idx = 0;
886 for (auto i : options)
887 optionArray[idx++] = i;
888 BNPossibleValueSet value =
889 BNGetLowLevelILPossibleRegisterValuesAfterInstruction(m_object, reg, instr, optionArray, options.size());
890 delete[] optionArray;
891 return PossibleValueSet::FromAPIObject(value);
892}
893
894
895RegisterValue LowLevelILFunction::GetFlagValueAtInstruction(uint32_t flag, size_t instr)

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected