diff options
author | We-unite <3205135446@qq.com> | 2024-07-26 17:23:53 +0800 |
---|---|---|
committer | We-unite <3205135446@qq.com> | 2024-07-26 17:23:53 +0800 |
commit | ec260a31927ef77295eaa07ba370b58b416f47f5 (patch) | |
tree | 317dcc68bbeb095af71e5135bf57caefff0bd123 /.gitignore | |
parent | b765715b4795ce4bc8940c7b1a1092a78550de94 (diff) | |
download | godo-ec260a31927ef77295eaa07ba370b58b416f47f5.tar.gz godo-ec260a31927ef77295eaa07ba370b58b416f47f5.zip |
Fix execve before fork & Fix regex to match "exit"
There's 2 bugs from ancestor commits:
- In the 'things_left' tag commit(the grandpa of this commit), we
add a function that allows execve comes before fork, but when it
happens, I forget to insert the basic info (pid, ppid, etc.), as a
result of which it doesn't work in the designed way. Now it is well,
insert execve with pid and ppid, so that the fork event can find it
and finish other info. However, we shouldn't make start_stamp in
this case, so that it's also a flag. I've not removed the unused
execve info, waiting for the future.
- In the parent commit, the syscallRegex is changed, because when we
add more syscalls to be watched, we need more info about their params
but not only the first one. Instead of keeping using single a0 to get
the first param, i use argsRegex for all the params. But this change
causes mismatch of syscallRegex. Now it's fixed.
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -8,3 +8,5 @@ old/go.* | |||
8 | */*.log | 8 | */*.log |
9 | */*.json | 9 | */*.json |
10 | !logs/*.log | 10 | !logs/*.log |
11 | |||
12 | __debug_bin* | ||