# memgrep Search (and optionally erase) a particular text in process memory. # Reference ``` memgrep 0.2.0 Eldad Zack Memory Grep Searches for a particular text in all memory regions that are not virtual or not mapped to any file: stack, heap, or anonymous pages. Search text can be specified as bytes using the `--hex` flag. When searching, only the first match is returned for each region. When erasing, all matches are searched and erased. USAGE: memgrep [OPTIONS] --pid ARGS: Search text OPTIONS: -d, --debug Set log level to debug -e, --erase Erase text -e, --erase-value If erase is enabled, use this value to erase the search text [default: 32] -h, --hex Parse search text as hex string --help Print help information -m, --max-region-size Set maximum region size. Regions larger than this size will not be searched [default: 1073741824] -p, --pid PID -V, --version Print version information ```