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

Method SetCallingConvention

function.cpp:1182–1188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1180
1181
1182void Function::SetCallingConvention(const Confidence<Ref<CallingConvention>>& convention)
1183{
1184 BNCallingConventionWithConfidence cc;
1185 cc.convention = convention ? convention->GetObject() : nullptr;
1186 cc.confidence = convention.GetConfidence();
1187 BNSetUserFunctionCallingConvention(m_object, &cc);
1188}
1189
1190
1191void Function::SetParameterVariables(const Confidence<vector<Variable>>& vars)

Callers 1

DemangleFunctionMethod · 0.80

Calls 2

GetConfidenceMethod · 0.80
GetObjectMethod · 0.45

Tested by

no test coverage detected