I'm sure this is lovely software, and I'll probably try it, but... Why is software so difficult to install these days? Why on earth should one need docker to build and run some C code? Why can't one just download an executable?
NaiveSystems Analyze – FOSS static analyzer for MISRA C/C++, AUTOSAR C++14, etc.
11–16 of 16 posts
Re: NaiveSystems Analyze – FOSS static analyzer for MISRA C/C++, AUTOSAR C++14, etc.
#12Earlier quoted context omitted.
That's running the prebuilt container image. The README has instructions on how to build from source.
The README says "To build from source, follow the steps below on Fedora 36 or 37. Other versions may also work but are not officially supported" So it seems on Mac and Windows docker is the only way. :(
Re: NaiveSystems Analyze – FOSS static analyzer for MISRA C/C++, AUTOSAR C++14, etc.
#13Oh gosh, AUTOSAR... shudder The MISRA analysis seems neat -- It's GPLv3 from what the LICENSE suggests, does that cause problems when being used to scan proprietary code?
No. Using GPL software has nothing to do with the code processed by it. Think about the GCC compiler :)
Re: NaiveSystems Analyze – FOSS static analyzer for MISRA C/C++, AUTOSAR C++14, etc.
#14Earlier quoted context omitted.
No. Using GPL software has nothing to do with the code processed by it. Think about the GCC compiler :)
Totally fair :) I'm going to have a play with it at work!
Re: NaiveSystems Analyze – FOSS static analyzer for MISRA C/C++, AUTOSAR C++14, etc.
#15Oh gosh, AUTOSAR... shudder The MISRA analysis seems neat -- It's GPLv3 from what the LICENSE suggests, does that cause problems when being used to scan proprietary code?
No. Using GPL software has nothing to do with the code processed by it. Think about the GCC compiler :)
Disclaimer: Not a lawyer, this isn't legal advice.
Re: NaiveSystems Analyze – FOSS static analyzer for MISRA C/C++, AUTOSAR C++14, etc.
#16Earlier quoted context omitted.
The README says "To build from source, follow the steps below on Fedora 36 or 37. Other versions may also work but are not officially supported" So it seems on Mac and Windows docker is the only way. :(
Yes, the code of the analyzer itself cannot be built on macOS or Windows directly. In those cases you will have to use either podman or docker to use the binaries prebuilt on/for Linux. The whole system depends on a lot of other stuff on Linux so it won't easily run on other OSes.