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 条
  • [31] Static and Dynamic Structural Memory in Polyaniline Thin Films
    Eigner, Audrey A.
    Jones, Brynna H.
    Koprucki, Bryce W.
    Massari, Aaron M.
    JOURNAL OF PHYSICAL CHEMISTRY B, 2011, 115 (27): : 8686 - 8695
  • [32] A Survey of Application Memory Usage on a National Supercomputer: An Analysis of Memory Requirements on ARCHER
    Turner, Andy
    McIntosh-Smith, Simon
    HIGH PERFORMANCE COMPUTING SYSTEMS: PERFORMANCE MODELING, BENCHMARKING, AND SIMULATION (PMBS 2017), 2018, 10724 : 250 - 260
  • [33] RECOGNITION MEMORY FOR PICTURES - DYNAMIC VS STATIC STIMULI
    GOLDSTEIN, AG
    CHANCE, JE
    HOISINGTON, M
    BUESCHER, K
    BULLETIN OF THE PSYCHONOMIC SOCIETY, 1982, 20 (01) : 37 - 40
  • [34] Memory Usage Optimizations for Online Event Analysis
    Hilbrich, Tobias
    Protze, Joachim
    Wagner, Michael
    Mueller, Matthias S.
    Schulz, Martin
    de Supinski, Bronis R.
    Nagel, Wolfgang E.
    SOLVING SOFTWARE CHALLENGES FOR EXASCALE, 2015, 8759 : 110 - 121
  • [35] A Novel Dynamic Detection for Flash Memory
    Ismail, Amr
    Sandell, Magnus
    IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS II-EXPRESS BRIEFS, 2020, 67 (03) : 600 - 604
  • [36] SCAVY: Automated Discovery of Memory Corruption Targets in Linux Kernel for Privilege Escalation
    Avllazagaj, Erin
    Kwon, Yonghwi
    Dumitras, Tudor
    PROCEEDINGS OF THE 33RD USENIX SECURITY SYMPOSIUM, SECURITY 2024, 2024, : 7141 - 7158
  • [37] Highly Automated Formal Proofs over Memory Usage of Assembly Code
    Verbeek, Freek
    Bockenek, Joshua A.
    Ravindran, Binoy
    TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, PT II, TACAS 2020, 2020, 12079 : 98 - 117
  • [38] Automated Quantum Memory Compilation with Improved Dynamic Range
    Sinha, Aviraj
    Henderson, Elena R.
    Henderson, Jessie M.
    Thornton, Mitchell A.
    2022 IEEE/ACM THIRD INTERNATIONAL WORKSHOP ON QUANTUM COMPUTING SOFTWARE (QCS), 2022, : 22 - 35
  • [39] Experimental analysis of the quasi-static and dynamic torsional behaviour of shape memory alloys
    Doare, Olivier
    Sbarra, Alessandro
    Touze, Cyril
    Moussa, Mohamed Ould
    Moumni, Ziad
    INTERNATIONAL JOURNAL OF SOLIDS AND STRUCTURES, 2012, 49 (01) : 32 - 42
  • [40] Scoped Memory in RTSJ Applications Dynamic Analysis of Memory Consumption
    Hamza, H.
    Counsell, S.
    2011 37TH EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS (SEAA 2011), 2011, : 221 - 225