MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / get_arch

Method get_arch

pydevd_attach_to_process/winappdbg/thread.py:867–877  ·  view source on GitHub ↗

@rtype: str @return: The architecture in which this thread believes to be running. For example, if running a 32 bit binary in a 64 bit machine, the architecture returned by this method will be L{win32.ARCH_I386}, but the value of L{System.arch} w

(self)

Source from the content-addressed store, hash-verified

865 return wow64
866
867 def get_arch(self):
868 """
869 @rtype: str
870 @return: The architecture in which this thread believes to be running.
871 For example, if running a 32 bit binary in a 64 bit machine, the
872 architecture returned by this method will be L{win32.ARCH_I386},
873 but the value of L{System.arch} will be L{win32.ARCH_AMD64}.
874 """
875 if win32.bits == 32 and not win32.wow64:
876 return win32.arch
877 return self.get_process().get_arch()
878
879 def get_bits(self):
880 """

Callers 3

__call__Method · 0.45
__get_stack_traceMethod · 0.45
__init__Method · 0.45

Calls 1

get_processMethod · 0.95

Tested by

no test coverage detected