List of platform CallingConvention objects (read-only) :getter: returns the list of supported CallingConvention objects :type: list(CallingConvention)
(self)
| 448 | |
| 449 | @property |
| 450 | def calling_conventions(self): |
| 451 | """ |
| 452 | List of platform CallingConvention objects (read-only) |
| 453 | |
| 454 | :getter: returns the list of supported CallingConvention objects |
| 455 | :type: list(CallingConvention) |
| 456 | """ |
| 457 | count = ctypes.c_ulonglong() |
| 458 | cc = core.BNGetPlatformCallingConventions(self.handle, count) |
| 459 | assert cc is not None, "core.BNGetPlatformCallingConventions returned None" |
| 460 | result = [] |
| 461 | for i in range(0, count.value): |
| 462 | result.append(callingconvention.CallingConvention(handle=core.BNNewCallingConventionReference(cc[i]))) |
| 463 | core.BNFreeCallingConventionList(cc, count.value) |
| 464 | return result |
| 465 | |
| 466 | def get_global_register_type(self, reg: 'architecture.RegisterType'): |
| 467 | reg = self.arch.get_reg_index(reg) |
no test coverage detected