Skip to content
This repository has been archived by the owner on May 3, 2023. It is now read-only.

Print all syscalls with the same details as strace #54

Open
pothos opened this issue Aug 24, 2020 · 0 comments
Open

Print all syscalls with the same details as strace #54

pothos opened this issue Aug 24, 2020 · 0 comments

Comments

@pothos
Copy link
Member

pothos commented Aug 24, 2020

Currently we have some syscalls annotated to dereference buffer pointers. This could be automated with a script having a heuristic for the data in /sys/kernel/debug/tracing/events/syscalls/sys_enter_NAME/format where const and char * are useful hints. We will still need to fix some corner cases like dereferencing a read buffer at exit.
Besides dereferencing buffer pointers we have to display constants and structs in a nice way.
It would be good to see if we can use BTF and also if we can share code with strace.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant