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

Method default_calling_convention

python/architecture.py:1999–2012  ·  view source on GitHub ↗

Default calling convention. .. note:: Make sure the calling convention has been registered with `Architecture.register_calling_convention`. :getter: returns a CallingConvention object for the default calling convention, if one exists. :setter: sets the default calling convention :type:

(self)

Source from the content-addressed store, hash-verified

1997
1998 @property
1999 def default_calling_convention(self):
2000 """
2001 Default calling convention.
2002
2003 .. note:: Make sure the calling convention has been registered with `Architecture.register_calling_convention`.
2004
2005 :getter: returns a CallingConvention object for the default calling convention, if one exists.
2006 :setter: sets the default calling convention
2007 :type: Optional['callingconvention.CallingConvention']
2008 """
2009 cc_handle = core.BNGetArchitectureDefaultCallingConvention(self.handle)
2010 if cc_handle is None:
2011 return None
2012 return callingconvention.CallingConvention(handle=cc_handle)
2013
2014 @default_calling_convention.setter
2015 def default_calling_convention(self, cc: 'callingconvention.CallingConvention'):

Callers

nothing calls this directly

Calls 1

CallingConventionMethod · 0.80

Tested by

no test coverage detected