Package Peach :: Package Agent :: Module memory
[hide private]

Module memory

source code

Agent that monitors the amount of memory a process is utilizing. This is useful for detecting memory leaks within the fuzzing target


Author: Blake Frantz (blakefrantz@gmail.com)

Version: $Id: memory.py 963 2008-06-11 20:29:46Z meddingt $

Classes [hide private]
  PROCESS_MEMORY_COUNTERS_EX
  Memory
Agent that monitors the amount of memory a process is utilizing.
Variables [hide private]
  PROCESS_VM_READ = 0x0010
  PROCESS_QUERY_INFORMATION = 0x0400
  DWORD = ctypes.c_ulong
  SIZE_T = ctypes.c_ulong
  MAX_PROCESSES = 1024
  MAX_PATH = 1024
  Psapi = ctypes.windll.Psapi
  Kernel32 = ctypes.windll.Kernel32