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

Invalid expression assignment is not detected by analyser #83

Open
lerno opened this issue Dec 2, 2018 · 2 comments
Open

Invalid expression assignment is not detected by analyser #83

lerno opened this issue Dec 2, 2018 · 2 comments
Labels

Comments

@lerno
Copy link
Collaborator

lerno commented Dec 2, 2018

This code is accepted by the analyser but is not valid C.

a = argc + 1 = 1;
@bvdberg bvdberg added the bug label Dec 7, 2018
@bvdberg
Copy link
Member

bvdberg commented Dec 7, 2018

Indeed. We have to extend the analyses to check for these situations. What these 'situations'
are exactly I'm not sure about.

@lerno
Copy link
Collaborator Author

lerno commented Dec 7, 2018

I have a pretty good idea, but it touches code that is affected by the open pull requests, so any fixes need to wait.

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

No branches or pull requests

2 participants