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

Method _parse_state

pydevd_attach_to_process/winappdbg/sql.py:508–516  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

506
507 @staticmethod
508 def _parse_state(state):
509 if state:
510 if state == "Reserved":
511 return win32.MEM_RESERVE
512 if state == "Commited":
513 return win32.MEM_COMMIT
514 if state == "Free":
515 return win32.MEM_FREE
516 return 0
517
518 @staticmethod
519 def _parse_type(type):

Callers 1

toMBIMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected