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

Method GetMediumLevelILSSAForm

highlevelilinstruction.cpp:910–922  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

908
909
910MediumLevelILInstruction HighLevelILInstructionBase::GetMediumLevelILSSAForm() const
911{
912 Ref<MediumLevelILFunction> func = function->GetMediumLevelIL();
913 if (!func)
914 throw MediumLevelILInstructionAccessException();
915 Ref<MediumLevelILFunction> ssa = func->GetSSAForm().GetPtr();
916 if (!ssa)
917 throw MediumLevelILInstructionAccessException();
918 size_t expr = GetMediumLevelILExprIndex();
919 if (expr >= ssa->GetExprCount())
920 throw MediumLevelILInstructionAccessException();
921 return ssa->GetExpr(expr);
922}
923
924
925char* HighLevelILInstructionBase::Dump() const

Callers

nothing calls this directly

Calls 6

GetMediumLevelILMethod · 0.45
GetPtrMethod · 0.45
GetSSAFormMethod · 0.45
GetExprCountMethod · 0.45
GetExprMethod · 0.45

Tested by

no test coverage detected