Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow hooks to operate on the returned value when a kretprobe is used #249

Open
atenart opened this issue Sep 13, 2023 · 0 comments
Open
Labels
wish list Things that might be worked on in the future; no guarantee

Comments

@atenart
Copy link
Contributor

atenart commented Sep 13, 2023

This contains a few sub-tasks:

  • Inspection of known types should also inspect the returned value.
  • A function could take the same type as the input and as the returned value. A simple solution is to prioritize the returned value in such case (and a kprobe can be used to get the parameter one).
  • BPF helpers needs some refactoring to not only act on parameters.

This is also maybe related to a bigger issue when a function has access to a known type more than once. Should all be reported? How to differentiate those? etc.

@atenart atenart added the wish list Things that might be worked on in the future; no guarantee label Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wish list Things that might be worked on in the future; no guarantee
Projects
None yet
Development

No branches or pull requests

1 participant