GithubHelp home page GithubHelp logo

pvs-studio-check-list's Introduction

A list of projects to check by PVS-Studio analyzer

We will choose interesting projects from this list to write articles about the checks with the description of interesting errors.

The whole list of projects that we wrote the articles about: click

Projects in C/C++ (go to C#, go to Java)

Projects in C#

Projects in Java

pvs-studio-check-list's People

Contributors

akzhan avatar alexguteniev avatar axifive avatar comonadd avatar danil42russia avatar dovgalyuk avatar ferdymercury avatar govorovviva64 avatar har01d avatar heaviss avatar khandeliants avatar kharts avatar konh avatar kulikovk avatar kurenevalexandr avatar linnik avatar madreason avatar magicgoose avatar maslbl4 avatar oleg2tor avatar orbitcowboy avatar randl avatar rsjaffe avatar sauronfrommordor avatar sviatoslavrazmyslov avatar totalcaesar659 avatar valerykomarov avatar vasilievserg avatar vkhanieva avatar zamazan4ik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

pvs-studio-check-list's Issues

OpenJ9 and OpenJDK

Unless the plan is to test class libraries this two project should be moved to C/C++ projects

GDAL - Geospatial Data Abstraction Library

GDAL is a translator library for raster and vector geospatial data formats. It also comes with a variety of useful command line utilities for data translation and processing as well as APIs for popular languages (eg. Python, Perl, .NET). Functional and integration test suite is developed in Python.

Website: http://gdal.org

Source code packages: https://trac.osgeo.org/gdal/wiki/DownloadSource

Source code repository:

License: MIT

/cc @rouault

Please check Xenia project for these High Errors

The following errors please check to see if it's false or indeed an errors.

Xenia Project:
https://github.com/benvanik/xenia

V570 The 'constant.i8' variable is assigned to itself. value.cc 1372
V547 Expression 'v' is always false. ppc_emit_control.cc 449
V730 Not all members of a class are initialized inside the constructor. Consider inspecting: irql_. processor.cc 80
V512 A call of the 'memcpy' function will lead to overflow of the buffer '& thread_context.Rax'. stack_walker_win.cc 179
V512 A call of the 'memcpy' function will lead to overflow of the buffer '& thread_context.Xmm0'. stack_walker_win.cc 181
V512 A call of the 'memcpy' function will lead to the '& thread_context.Rax' buffer becoming out of range. stack_walker_win.cc 189
V512 A call of the 'memcpy' function will lead to the '& thread_context.Xmm0' buffer becoming out of range. stack_walker_win.cc 191
V569 Truncation of constant value 3735929054. The value range of unsigned char type: [0, 255]. xex_module.cc 393
V569 Truncation of constant value 4027445261. The value range of unsigned char type: [0, 255]. xex_module.cc 409
V792 The 'isREG' function located to the right of the operator '|' will be called regardless of the value of the left operand. Perhaps, it is better to use '||'. xbyak.h 409
V792 The 'isExtIdx' function located to the right of the operator '|' will be called regardless of the value of the left operand. Perhaps, it is better to use '||'. xbyak.h 409
V690 The 'Pack' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. xbyak_util.h 309
V647 The value of 'int' type is assigned to the pointer of 'int' type. pthread_frame.c 265
V647 The value of 'int' type is assigned to the pointer of 'enum' type. utils.c 947
V570 The 'collected_size_bits' variable is assigned to itself. xma2dec.c 1791
V647 The value of 'int' type is assigned to the pointer of 'char' type. Consider inspecting the assignment: 'm->elems[m->count].key = av_strdup(key)'. dict.c 107
V647 The value of 'int' type is assigned to the pointer of 'char' type. Consider inspecting the assignment: 'oldval = av_realloc(oldval, len)'. dict.c 112
V647 The value of 'int' type is assigned to the pointer of 'char' type. dict.c 117
V647 The value of 'int' type is assigned to the pointer of 'unsigned char' type. Consider inspecting the assignment: '= av_realloc(NULL, size)'. buffer.c 155
V647 The value of 'int' type is assigned to the pointer of 'unsigned char' type. buffer.c 188

GEOS - Geometry Engine, Open Source

GEOS is a C++ port of the ​Java Topology Suite (JTS). This includes all the ​OpenGIS Simple Features for SQL spatial predicate functions and spatial operators, as well as specific JTS enhanced topology functions.

Website: https://trac.osgeo.org/geos/

Latest release source code package: http://download.osgeo.org/geos/geos-3.6.1.tar.bz2

Source code repository:

Subversion: https://svn.osgeo.org/geos
Git mirror (active): https://github.com/libgeos/libgeos

License: LGPL

/cc @strk

Eclipse OMR

The Eclipse OMR project is a set of open source C and C++ components that can be used to build robust language runtimes that support many different hardware and operating system platforms.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.