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

Handling of reflection #96

Open
victornicolet opened this issue Oct 4, 2024 · 0 comments
Open

Handling of reflection #96

victornicolet opened this issue Oct 4, 2024 · 0 comments

Comments

@victornicolet
Copy link
Contributor

Some handling of functions of the reflect library in the pointer analysis conflict with our use of summaries to avoid issued with reflection.
For example, calls to (reflect.Value).Call are eliminated (inlined) by the pointer analysis and do not appear in the callgraph. Despite us having a summary that overapproximates the dataflows in this function, our dataflow analysis is unsound because the summary is never used.
We need to find a way to have both pointer analysis and dataflow analysis work with the parts of the reflect library we can approximate (although in general, we do not support reflection).

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

1 participant