syscall_intercept
syscall_intercept copied to clipboard
Add syscall arguments to clone hooks
This PR adds the missing arguments to the clone() system call, so that their values can be inspected when interception hooks are called. In our case, this is useful to keep track of what arguments have been passed to the clone() system call and react accordingly.
Codecov Report
Merging #102 (f4a14f6) into master (7031a8f) will increase coverage by
0.00%. The diff coverage is66.66%.
@@ Coverage Diff @@
## master #102 +/- ##
=======================================
Coverage 91.95% 91.96%
=======================================
Files 11 11
Lines 957 958 +1
=======================================
+ Hits 880 881 +1
Misses 77 77
| Flag | Coverage Δ | |
|---|---|---|
| pmemfile_tests | 86.37% <33.33%> (+0.01%) |
:arrow_up: |
| regular_tests | 90.81% <66.66%> (+<0.01%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
| Impacted Files | Coverage Δ | |
|---|---|---|
| include/libsyscall_intercept_hook_point.h | 50.00% <ø> (ø) |
|
| src/intercept.c | 80.89% <66.66%> (+0.12%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 7031a8f...f4a14f6. Read the comment docs.