Hidden errors finding in memory programming usage for C++ code by means of static Deep Learning analysis

Keywords: static code analysis, memory usage, error detection, false positives, Deep learning means

Abstract

In our time, a memory usage by program code is one of the important problems both: from the side of code writing and from the side of application protection. Resource saving and secure code play an important role today, even before the industrial programs implementation, when memory usage errors cannot be detected by traditional means. Undetected memory usage errors can cause unnecessary resource consumption as well as become a source of intrusions or unauthorized information seizure. This article outlines the main advantages, settings, modeling, code study special features and other aspects of applying the Deep learning static analysis based on neural networks to detect memory usage errors in C++ program code. Some important role in its usage applies the practical study of have already been executed analyzed code samples with known memory allocation problems, saved in the database and used as basic templates. Based on the large amount of code study examples by Deep learning means from several software projects were used to detect errors that were undetected by other traditional methods, and its performance, obtained results visualization, and reduction of false positives were also discussed here

References

1. Коваленко А.А., Куценко Т.Г., Шаповал А.С., Ситник О.В., Ні Я.С. Огляд методів аналізу безпечного програмного забезпечення. Control, Navigation and Communication Systems. Харків, ХНУР. 2025. №1. с.156-161.
2. G. Fan, R. Wu, Q. Shi, X. Xiao, J. Zhou, C. Zhang, "SMOKE: Scalable Path-Sensitive Memory Leak Detection for Millions of Lines of Code", International Conference on Software Engineering (ICSE), 2019.
3. Openssl.
4. OSS-Fuzz: Continuous Fuzzing for Open Source Software.
5. Heinrichs F., Heim M., Weber C. Functional Neural Networks: Shift invariant models for functional data with applications to EEG classification. 2023.
Published
2025-12-05
How to Cite
Melnyk , V., Bahniuk , N., & Korchuk О. (2025). Hidden errors finding in memory programming usage for C++ code by means of static Deep Learning analysis. COMPUTER-INTEGRATED TECHNOLOGIES: EDUCATION, SCIENCE, PRODUCTION, (61), 156-163. https://doi.org/10.36910/6775-2524-0560-2025-61-22
Section
Computer science and computer engineering