Dict of CallingConvention objects (read-only)
(self)
| 550 | |
| 551 | @property |
| 552 | def calling_conventions(self) -> Mapping[str, 'callingconvention.CallingConvention']: |
| 553 | """Dict of CallingConvention objects (read-only)""" |
| 554 | count = ctypes.c_ulonglong() |
| 555 | cc = core.BNGetArchitectureCallingConventions(self.handle, count) |
| 556 | assert cc is not None, "core.BNGetArchitectureCallingConventions returned None" |
| 557 | result = {} |
| 558 | try: |
| 559 | for i in range(0, count.value): |
| 560 | obj = callingconvention.CallingConvention(handle=core.BNNewCallingConventionReference(cc[i])) |
| 561 | result[obj.name] = obj |
| 562 | finally: |
| 563 | core.BNFreeCallingConventionList(cc, count.value) |
| 564 | return result |
| 565 | |
| 566 | @property |
| 567 | def standalone_platform(self) -> 'platform.Platform': |
nothing calls this directly
no test coverage detected