parameters: (self, arg)
docstring: [~process] m - show the process memory map
          [~process] memory - show the process memory map
docstring_summary: [~process] m - show the process memory map
          [~process] memory - show the process memory map
docstring_tokens: [ ~process ] m - show the process memory map [ ~process ] memory - show the process memory map
function: def do_memory(self, arg):
          """
          [~process] m - show the process memory map
          [~process] memory - show the process memory map
          """
          if arg:     # TODO: take min and max addresses
              raise CmdError("too many arguments")
          process = self.get_process_from_prefix()
          try:
              memoryMap       = process.get_memory_map()
              mappedFilenames = process.get_mapped_filenames()
              print('')
              print(CrashDump.dump_memory_map(memoryMap, mappedFilenames))
          except WindowsError:
              msg = "can't get memory information for process (%d)"
              raise CmdError(msg % process.get_pid())
function_tokens: def do_memory ( self , arg ) : if arg : # TODO: take min and max addresses raise CmdError ( "too many arguments" ) process = self . get_process_from_prefix ( ) try : memoryMap = process . get_memory_map ( ) mappedFilenames = process . get_mapped_filenames ( ) print ( '' ) print ( CrashDump . dump_memory_map ( memoryMap , mappedFilenames ) ) except WindowsError : msg = "can't get memory information for process (%d)" raise CmdError ( msg % process . get_pid ( ) )