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

Extend wrong_serialize_struct_arg to handle serialize_struct_variant, etc. #850

Open
4 tasks
smoelius opened this issue Sep 23, 2023 · 0 comments
Open
4 tasks
Labels
good first issue Good for newcomers lint New lint or lint enhancement

Comments

@smoelius
Copy link
Collaborator

smoelius commented Sep 23, 2023

wrong_serialize_struct_arg is here: https://github.com/trailofbits/dylint/tree/master/examples/general/wrong_serialize_struct_arg

Additional methods it might handle are the following:

The ones that are not serialize_tuple should be straightforward, as they also involve calls to serialize_field. The main changes should be:

Handling serialize_tuple will be slightly more involved, as it requires counting calls to serialize_element instead of serialize_field.

@smoelius smoelius added the good first issue Good for newcomers label Sep 23, 2023
@smoelius smoelius added the lint New lint or lint enhancement label Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers lint New lint or lint enhancement
Projects
None yet
Development

No branches or pull requests

1 participant