-
Notifications
You must be signed in to change notification settings - Fork 14
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
Testing cpp-reference.com/w/c examples with smatch #13
Comments
I've noticed that
Also when running under
test-invalid-read.c :
|
Thanks for the bug report. I have fixed it now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I created a
Lua
script (see attached with the resulting output) to extract the examples from https://en.cppreference.com/w/c (can be downloaded here https://en.cppreference.com/w/Cppreference:Archives) and here is the sumary:I also needed to make small changes to
smatch
to return non zero when there is errors in the evaluate/tokenizer functions (see diff in the attachment) (also added a bunch ofconst
tochar *key
parameters).Also tested
sparse
see here lucvoo/sparse#4 andsmatch
pass more tests.test-c-reference.zip
The text was updated successfully, but these errors were encountered: