syscall_intercept icon indicating copy to clipboard operation
syscall_intercept copied to clipboard

Add syscall arguments to clone hooks

Open alberto-miranda opened this issue 5 years ago • 1 comments

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.


This change is Reviewable

alberto-miranda avatar Mar 30 '20 14:03 alberto-miranda

Codecov Report

Merging #102 (f4a14f6) into master (7031a8f) will increase coverage by 0.00%. The diff coverage is 66.66%.

Impacted file tree graph

@@           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 data Powered by Codecov. Last update 7031a8f...f4a14f6. Read the comment docs.

codecov-io avatar Dec 30 '20 04:12 codecov-io