Our website uses cookies to enhance your browsing experience.
Accept
to the top
>
>
Andrey Karpov

Posts: Andrey Karpov

Jun 09 2022
50 terrible coding tips for a C++ developer
Andrey Karpov
Whichever C++ article you read, it provides serious information, requires thoughtful reading — preferably with a cup of coffee. And what if you want to have fun? That's why I decided to write...
...
May 26 2022
Should PVS-Studio process other tools' reports?
Andrey Karpov
PVS-Studio can hide repeated warnings. The analyzer allows you to set baseline, which makes it easy to implement static analysis in legacy projects. Should we provide these features for...
...
Subscribe to the newsletter
Want to receive a monthly digest of the most interesting articles and news? Subscribe!
May 24 2022
15000 bugs in open-source projects
Andrey Karpov
The number of bugs in our bug list has exceeded 15000. This is exactly the number of bugs found by the PVS-Studio team in various open-source projects. Most excitingly, our bug collection is just...
...
Apr 21 2022
50 terrible coding tips for a C++ developer: an overview
Andrey Karpov
Fun is fun, but extra caution never hurts anyone. What if it's not completely clear why some of the tips are terrible? Here you can find the relevant...
...
Apr 20 2022
Four reasons to check what the malloc function returned
Andrey Karpov
Some developers may be dismissive of checks: they deliberately do not check whether the malloc function allocated memory or not. Their reasoning is simple — they think that there will be...
...
Apr 18 2022
How PVS-Studio prevents rash code changes, example N5
Andrey Karpov
The PVS-Studio static analyzer encompasses the symbolic execution mechanism. And today we have a great opportunity to demonstrate how this feature helps find...
...
Feb 18 2022
How PVS-Studio prevents rash code changes, example N4
Andrey Karpov
If you regularly use a static code analyzer, you can save time on guessing why the new code doesn't work as planned. Let's look at another interesting error — the function broke during...
...
Feb 16 2022
How PVS-Studio prevents rash code changes, example N3
Andrey Karpov
Let's continue with a series of small notes illustrating the PVS-Studio's ability to quickly find new errors in the code. If the analyzer is regularly used, of course :). Today we have another bug...
...
Feb 10 2022
An example of undefined behavior caused by absence of return
Andrey Karpov
This article contains a very interesting example. The absence of the return statement in a value-returning function leads to undefined behavior. It's a perfect example of how wrong code can crash...
...
Feb 07 2022
What memory release strategy does the PVS-Studio C and C++ core use?
Andrey Karpov
In various discussions, we have already commented on how the PVS-Studio C and C++ module works with memory. Now it's time to make a small article from this...
...
View more Pagination arrow previous
Showing: - of 648