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

Similar project: gcc analyzer integration tests #42

Open
davidmalcolm opened this issue Feb 1, 2023 · 2 comments
Open

Similar project: gcc analyzer integration tests #42

davidmalcolm opened this issue Feb 1, 2023 · 2 comments

Comments

@davidmalcolm
Copy link

I just discovered this project via the link in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108598 and thought you might be interested in a similar project I've been working on:
https://github.com/davidmalcolm/gcc-analyzer-integration-tests

There are a lot of similarities, and some differences.

My project focuses on just GCC -fanalyzer, and on testing patched versions of GCC; I'm building various upstream C projects with default configuration/build flags, etc, harvesting the results in SARIF form. I'm not yet bothering with "mock". I'm also manually classifying the results as true vs false positives, so I can see if one of my patches to GCC improves the output (see the "known-issues" subdirectory). I have an automated classifier for the Juliet test suite, since that already has a human-edited set of true/false classifications embedded within it.

Are you OK if I copy some of your small testcases into GCC's upstream test suite? Presumably it's all MIT-licensed?

@lzaoral
Copy link
Member

lzaoral commented Feb 2, 2023

Yeah, using our tests is completely fine! The licences are the following:

  • tests/single-c/mem-* - everything is MIT
  • tests/single-c/predator-* - everything is GPLv3
    • These are just cherry picks from the regression test suite of Predator taken from here. However, the majority of them were written solely by @kdudka and he has no problems with relicensing them under a more permissive license.
  • tests/single-c/arrays-and-loops - @vmihalko can you please specify the details for these? Thank you!

@vmihalko
Copy link
Contributor

vmihalko commented Feb 2, 2023

  • tests/single-c/arrays-and-loops - These test are modified cherry picks from sv-benchamarks everything is Apache 2.0.

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

3 participants