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

Method arch

python/function.py:537–545  ·  view source on GitHub ↗

Function architecture (read-only)

(self)

Source from the content-addressed store, hash-verified

535
536 @property
537 def arch(self) -> 'architecture.Architecture':
538 """Function architecture (read-only)"""
539 if self._arch:
540 return self._arch
541 else:
542 arch = core.BNGetFunctionArchitecture(self.handle)
543 assert arch is not None, "core.BNGetFunctionArchitecture returned None"
544 self._arch = architecture.CoreArchitecture._from_cache(arch)
545 return self._arch
546
547 @property
548 def platform(self) -> Optional['_platform.Platform']:

Callers 3

on_matched_functionFunction · 0.45
basic_block_guidFunction · 0.45
match_functionMethod · 0.45

Calls 1

_from_cacheMethod · 0.45

Tested by

no test coverage detected