I have a project at university where i need to make a static analysis on a project using any tool .
I chose this project written in C++: https://github.com/AndreaOrru/LaiNES and PVS Studio tool (on linux).
But, i have a problem. This project doesn't have a make or cmake file.. this project have a Sconstruct file .
It's posibile somehow to make analysis with pvs ?
If it's not posible , what other tool should i use ?
PVS Studio analysis
329 Views Asked by Daniel Savu At
1
There are 1 best solutions below
Related Questions in C++
- How to immediately apply DISPLAYCONFIG_SCALING display scaling mode with SetDisplayConfig and DISPLAYCONFIG_PATH_TARGET_INFO
- Why can't I use templates members in its specialization?
- How to fix "Access violation executing location" when using GLFW and GLAD
- Dynamic array of structures in C++/ cannot fill a dynamic array of doubles in structure from dynamic array of structures
- How do I apply the interface concept with the base-class in design?
- File refuses to compile std::erase() even if using -std=g++23
- How can I do a successful map when the number of elements to be mapped is not consistent in Thrust C++
- Can std::bit_cast be applied to an empty object?
- Unexpected inter-thread happens-before relationships from relaxed memory ordering
- How i can move element of dynamic vector in argument of function push_back for dynamic vector
- Brick Breaker Ball Bounce
- Thread-safe lock-free min where both operands can change c++
- Watchdog Timer Reset on ESP32 using Webservers
- How to solve compiler error: no matching function for call to 'dmhFS::dmhFS()' in my case?
- Conda CMAKE CXX Compiler error while compiling Pytorch
Related Questions in STATIC-ANALYSIS
- Ansible role analysis with Checkov - facts evaluation?
- Flutter SonarQube: "The main branch has no lines of code."
- the expressionType and includePath of CDT parser
- Adding entry to program header table
- Static checker that number of arguments to python logging matches number of placeholders
- Why am I getting this error when using dataflow in Codeql
- How to disallow exception to curly_braces_in_flow_control_structures linter rule in dart?
- Security scan flagged local variable for heap inspection in C Function
- Is it possible to use Eclipse JDT static analysis for null annotations when compiling from the command line?
- Remove directory from sonar analyzer
- Sonar qube issue in using aes-256-cbc algoritm, stating Make sure that encrypting data is safe here
- Programming language/library that uses dataflow analysis to fetch only required data from the database
- Export comments from Fortify Software Security Center
- Changing lint configuration based on Cargo profile
- Can I reproduce eslint's "prefer-object-spread" rule using ast-grep?
Related Questions in PVS-STUDIO
- PVS Studio: Comments in autogenerated files. MVC, VS 2022
- How can I disable pvs-studio specific warnings for a cmake project?
- Running PVS-Studio on a C# project on Linux gives weird output file format
- Any other way to resolve V008. Unable to start the analysis on this file. [CLION]
- Can "unspecified order of evaluation" be detected with static analysis?
- Dealing with unsigned integers
- Passing the const-qualified object to the 'std::move'
- PVS-Studio: No compilation units were found
- Why is PVS-Studio asking for a license file on Linux (use PVS-Studio for free, individual developer)?
- PVS Studio analysis
- CLMonitor exit codes
- PVS Studio: Suppress V677 from cross-compiler system libraries
- PVS Studio on Linux - command line return codes
- Print colored log of PVS-Studio analysis in Linux terminal
- How can I tell PVS-Studio to ignore all of the files in a third party library when using CMake on Linux
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
According to PVS-Studio docs, you can capture compiler invocations via
pvs-studio-analyzer trace:cd /path/to/LaiNES pvs-studio-analyzer trace -- sconsAfter that, you can analyze the project and generate a "raw" log:
pvs-studio-analyzer analyze -o /path/to/project.log -jNThen, convert the "raw" log into some format proper for you (e.g., QtCreator tasklist):
plog-converter -a GA:1,2 -t tasklist -o /path/to/project.tasks /path/to/project.logMake sure that you've added special comments in LaiNES' compilation units before starting the analysis to use PVS-Studio free.