Automated Memory Corruption Detection through Analysis of Static Variables and Dynamic Memory Usage

被引:2
|
作者
Park, Jihyun [1 ]
Choi, Byoungju [1 ]
Kim, Yeonhee [1 ]
机构
[1] Ewha Womans Univ, Dept Comp Sci & Engn, Seoul 03760, South Korea
关键词
memory corruption detection; memory fault detection; real-time fault detection; software debugging; fault detection;
D O I
10.3390/electronics10172127
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Various methods for memory fault detection have been developed through continuous study. However, many memory defects remain that are difficult to resolve. Memory corruption is one such defect, and can cause system crashes, making debugging important. However, the locations of the system crash and the actual source of the memory corruption often differ, which makes it difficult to solve these defects using the existing methods. In this paper, we propose a method that detects memory defects in which the location causing the defect is different from the actual location, providing useful information for debugging. This study presents a method for the real-time detection of memory defects in software based on data obtained through static and dynamic analysis. The data we used for memory defect analysis were (1) information of static global variables (data, address, size) derived through the analysis of executable binary files, and (2) dynamic memory usage information obtained by tracking memory-related functions that are called during the real-time execution of the process. We implemented the proposed method as a tool and applied it to applications running on the Linux. The results indicate the defect-detection efficacy of our tool for this application. Our method accurately detects defects with different cause and detected-fault locations, and also requires a very low overhead for fault detection.
引用
收藏
页数:24
相关论文
共 50 条
  • [41] Malware Detection Approach Based on Artifacts in Memory Image and Dynamic Analysis
    Sihwail, Rami
    Omar, Khairuddin
    Ariffin, Khairul Akram Zainol
    Al Afghani, Sanad
    APPLIED SCIENCES-BASEL, 2019, 9 (18):
  • [42] A Memory Model for Static Analysis of C Programs
    Xu, Zhongxing
    Kremenek, Ted
    Zhang, Jian
    LEVERAGING APPLICATIONS OF FORMAL METHODS, VERIFICATION, AND VALIDATION, PT I, 2010, 6415 : 535 - +
  • [43] Parameterized Static Analysis for Weak Memory Models
    Sharma, Divyanjali
    Sharma, Subodh
    PROCEEDINGS OF THE 17TH INNOVATIONS IN SOFTWARE ENGINEERING CONFERENCE, ISEC 2024, 2024,
  • [44] Static Analysis of Memory Leak in Android Applications
    Zhou, Di
    Fu, Zhengyu
    PROCEEDINGS OF THE 4TH INTERNATIONAL CONFERENCE ON MECHATRONICS, MATERIALS, CHEMISTRY AND COMPUTER ENGINEERING 2015 (ICMMCCE 2015), 2015, 39 : 1023 - 1027
  • [45] Static Analysis of Memory Models for SMT Encodings
    Haas, Thomas
    Maseli, Rene
    Meyer, Roland
    De Leon, Hernan Ponce
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2023, 7 (OOPSLA): : 1618 - 1647
  • [46] Static memory allocation by pointer analysis and coloring
    Zhu, JW
    DESIGN, AUTOMATION AND TEST IN EUROPE, CONFERENCE AND EXHIBITION 2001, PROCEEDINGS, 2001, : 785 - 790
  • [47] Improving Memory Dependence Prediction with Static Analysis
    Panayi, Luke
    Gandhi, Rohan
    Whittaker, Jim
    Chouliaras, Vassilios
    Berger, Martin
    Kelly, Paul
    ARCHITECTURE OF COMPUTING SYSTEMS, ARCS 2024, 2024, 14842 : 301 - 315
  • [48] A Lightweight Intrusion Detection System against IoT Memory Corruption Attacks
    El Bouazzati, Mohamed
    Tessier, Russell
    Tanguy, Philippe
    Gogniat, Guy
    2023 26TH INTERNATIONAL SYMPOSIUM ON DESIGN AND DIAGNOSTICS OF ELECTRONIC CIRCUITS AND SYSTEMS, DDECS, 2023, : 118 - 123
  • [49] Enhanced Memory Corruption Detection in C/C plus plus Programs
    Lin, Ching-Yi
    Yang, Wuu
    PROCEEDINGS OF THE 52ND INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING WORKSHOPS PROCEEDINGS, ICPP-W 2023, 2023, : 71 - 78
  • [50] AndroShield: Automated Android Applications Vulnerability Detection, a Hybrid Static and Dynamic Analysis Approach
    Amin, Amr
    Eldessouki, Amgad
    Magdy, Menna Tullah
    Abdeen, Nouran
    Hindy, Hanan
    Hegazy, Islam
    INFORMATION, 2019, 10 (10)