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

Method GetCallingConventions

platform.cpp:344–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342
343
344vector<Ref<CallingConvention>> Platform::GetCallingConventions() const
345{
346 size_t count;
347 BNCallingConvention** list = BNGetPlatformCallingConventions(m_object, &count);
348
349 vector<Ref<CallingConvention>> result;
350 result.reserve(count);
351 for (size_t i = 0; i < count; i++)
352 result.push_back(new CoreCallingConvention(BNNewCallingConventionReference(list[i])));
353
354 BNFreeCallingConventionList(list, count);
355 return result;
356}
357
358
359Ref<CallingConvention> Platform::GetSystemCallConvention() const

Callers 1

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected