2个不稳定版本
0.2.0 | 2023年6月25日 |
---|---|
0.1.0 | 2022年9月29日 |
#562 in 调试
13KB
223 行
memgrep
搜索(可选地擦除)进程内存中的特定文本。
参考
memgrep 0.2.0
Eldad Zack <eldad@fogrefinery.com>
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 <PID> <TEXT>
ARGS:
<TEXT>
Search text
OPTIONS:
-d, --debug
Set log level to debug
-e, --erase
Erase text
-e, --erase-value <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 <MAX_REGION_SIZE>
Set maximum region size. Regions larger than this size will not be searched
[default: 1073741824]
-p, --pid <PID>
PID
-V, --version
Print version information
依赖关系
~4MB
~69K SLoC