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

Feature request: generate config file from static code analysis output #1

Open
aviggiano opened this issue Nov 14, 2023 · 1 comment

Comments

@aviggiano
Copy link

aviggiano commented Nov 14, 2023

Hello
Great tool, thanks for building this!

I wish the config file was automatically generated from the source code.

This could be integrated into Slither, for example, which could extract all mathematical expressions, and the user would point out whether the different parameters (with names and links pointing to references in the code) were supposed to round up or down.

@montyly
Copy link
Member

montyly commented Nov 14, 2023

That's a great idea, and we definitely considered this approach when building roundme.

One limitation is that it can be tricky to identify what are the exact arithmetics on complex codebases, if the operation are spread across the code.

However we can definitely write a slither printer that would extract the formula following a best effort approach

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

No branches or pull requests

2 participants