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

probe: struct members #42

Open
3 tasks
metux opened this issue Nov 20, 2023 · 0 comments
Open
3 tasks

probe: struct members #42

metux opened this issue Nov 20, 2023 · 0 comments
Labels
kind/feature Feature Request

Comments

@metux
Copy link
Owner

metux commented Nov 20, 2023

What is the problem you are trying to solve

Sometimes we need to check whether some struct has certain members

Describe the solution you like

  • new check type: c/struct
  • Params: header(s), type name, field name
  • test code tries to create struct (global var) and take field offset (&var.field - &var)

Additional context

No response

@metux metux added the kind/feature Feature Request label Nov 20, 2023
@metux metux changed the title Check: struct members probe: struct members Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Feature Request
Projects
None yet
Development

No branches or pull requests

1 participant