-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a general way to save specific params from enter event
Add a somewhat-generalized way to save specific params from the enter event and access them in the exit event: - In the parser for the enter side of a bunch of file-related syscalls (mkdir, rmdir, openat, ...) save the enter event. - In the parser for the exit side, call a new method save_enter_event_params. - For mkdir/rmdir/unlink, save the path param in the new map m_enter_path_param that's a part of the exit event. For link/linkat, save the oldpath and newpath. For unlinkat, save the name. - All of these are accessible via get_enter_event_param(), as a string. Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
- Loading branch information
Showing
5 changed files
with
135 additions
and
35 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
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
Oops, something went wrong.