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

Posts: Andrey Karpov

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...
...
Subscribe to the newsletter
Want to receive a monthly digest of the most interesting articles and news? Subscribe!
* By clicking this button you agree to our Privacy Policy statement
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...
...
Jan 18 2022
How PVS-Studio prevents rash code changes, example N2
Andrey Karpov
When developers do make mistakes, it's often accidental or because the developers are in a hurry. These errors often make their way into small edits to the code. Let's review one of these cases...
...
Jan 11 2022
PVS-Studio: static code analysis technology
Andrey Karpov, Paul Eremeev
PVS-Studio provides static analyzers for C, C++, C# and Java languages on Windows, Linux and macOS platforms. PVS-Studio analyzers can vary slightly due to certain features that the languages...
...
Jan 04 2022
The most interesting blogs and websites for C++ developers
Andrey Karpov
Readers surely have favorite websites and blogs about C++. Hopefully, today your collection will...
...
View more Pagination arrow previous
Showing: - of 637
close form

Fill out the form in 2 simple steps below:

Your contact information:

Step 1
Congratulations! This is your promo code!

Desired license type:

Step 2
Team license
Enterprise license
** By clicking this button you agree to our Privacy Policy statement
close form
Request our prices
New License
License Renewal
--Select currency--
USD
EUR
* By clicking this button you agree to our Privacy Policy statement

close form
Free PVS‑Studio license for Microsoft MVP specialists
* By clicking this button you agree to our Privacy Policy statement

close form
To get the licence for your open-source project, please fill out this form
* By clicking this button you agree to our Privacy Policy statement

close form
I am interested to try it on the platforms:
* By clicking this button you agree to our Privacy Policy statement

close form
check circle
Message submitted.

Your message has been sent. We will email you at


If you do not see the email in your inbox, please check if it is filtered to one of the following folders:

  • Promotion
  • Updates
  • Spam