Fastcall calling convention. .. note:: Make sure the calling convention has been registered with `Architecture.register_calling_convention`. :getter: returns a CallingConvention object for the fastcall calling convention, if one exists. :setter: sets the fastcall calling convention :typ
(self)
| 2057 | |
| 2058 | @property |
| 2059 | def fastcall_calling_convention(self): |
| 2060 | """ |
| 2061 | Fastcall calling convention. |
| 2062 | |
| 2063 | .. note:: Make sure the calling convention has been registered with `Architecture.register_calling_convention`. |
| 2064 | |
| 2065 | :getter: returns a CallingConvention object for the fastcall calling convention, if one exists. |
| 2066 | :setter: sets the fastcall calling convention |
| 2067 | :type: Optional['callingconvention.CallingConvention'] |
| 2068 | """ |
| 2069 | cc_handle = core.BNGetArchitectureFastcallCallingConvention(self.handle) |
| 2070 | if cc_handle is None: |
| 2071 | return None |
| 2072 | return callingconvention.CallingConvention(handle=cc_handle) |
| 2073 | |
| 2074 | @fastcall_calling_convention.setter |
| 2075 | def fastcall_calling_convention(self, cc: 'callingconvention.CallingConvention'): |
nothing calls this directly
no test coverage detected