Fixing Code Errors in Amnesia: The Dark Descent

Written by pvs-studio | Published 2020/10/25
Tech Story Tags: game-development | c++ | cpp | cpp-vulnerabilities | bugs | amnesia | gaming-industry | gaming

TLDR PVS-Studio opened source code of "Amnesia: The Dark Descent" and "A Machine For Pigs" games. The games are a cult horror game in the survival horror genre. The main reason for these errors is the "last line effect" errors. There were a lot of suspicious places that looked like inattentive copying. Some cases may be due to the internal logic of the game itself. The better half of errors found by the analyzer in these projects was copy-paste errors.via the TL;DR App

no story

Written by pvs-studio | Search for bugs in C, C++, C#, Java on Windows, Linux, macOS. https://pvs-studio.com/
Published by HackerNoon on 2020/10/25