-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
memparse: add search functionnality to memparse
This commit adds `--search`, `--search-regex` and `--context` flags to `memparse`, enabling pattern search in a process's memory pages. Signed-off-by: Kouame Behouba Manasse <[email protected]>
- Loading branch information
Showing
3 changed files
with
121 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
package internal | ||
|
||
var ( | ||
Format string | ||
Stats bool | ||
Mounts bool | ||
OutputFilePath string | ||
PID uint32 | ||
PsTree bool | ||
PsTreeCmd bool | ||
PsTreeEnv bool | ||
Files bool | ||
Sockets bool | ||
ShowAll bool | ||
Format string | ||
Stats bool | ||
Mounts bool | ||
OutputFilePath string | ||
PID uint32 | ||
PsTree bool | ||
PsTreeCmd bool | ||
PsTreeEnv bool | ||
Files bool | ||
Sockets bool | ||
ShowAll bool | ||
SearchPattern string | ||
SearchRegexPattern string | ||
SearchContext int | ||
) |