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

byval arguments are uninstrumented, but can be used as actual pointers #3

Open
hal-ler opened this issue Apr 24, 2017 · 0 comments
Open
Assignees

Comments

@hal-ler
Copy link

hal-ler commented Apr 24, 2017

The byval attributes are uninstrumented (given fake upper bounds), but in reality the programmer can take the address of such argument and pass it along as any other pointer. At the IR level this looks as passing the "fake" pointer (with no bounds information) to the callee. This pattern is actually hit in either SPEC2006 or Chrome. There is also no need to use fake bounds information, since the actual size is already known at compile time.

@dimakuv dimakuv self-assigned this Apr 24, 2017
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