MCPcopy Create free account
hub / github.com/Vector35/debugger / remote_arch

Method remote_arch

api/python/debuggercontroller.py:561–571  ·  view source on GitHub ↗

Get the architecture of the running target (read-only). This could be different from the architecture of the original binary.

(self)

Source from the content-addressed store, hash-verified

559
560 @property
561 def remote_arch(self) -> binaryninja.Architecture:
562 """
563 Get the architecture of the running target (read-only). This could be different from the architecture of the original binary.
564 """
565 result = dbgcore.BNDebuggerGetRemoteArchitecture(self.handle)
566 if result is None:
567 return None
568 result = ctypes.cast(result, ctypes.POINTER(binaryninja.core.BNArchitecture))
569 if result is None:
570 return None
571 return binaryninja.CoreArchitecture(handle=result)
572
573 @property
574 def connected(self) -> bool:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected