Method of detection of erroneous memory usage
    1.
    发明授权
    Method of detection of erroneous memory usage 有权
    检测错误内存使用的方法

    公开(公告)号:US08732535B2

    公开(公告)日:2014-05-20

    申请号:US13441275

    申请日:2012-04-06

    IPC分类号: G06F11/00

    CPC分类号: G06F11/3636

    摘要: A method of detection of erroneous memory usage is provided. The method includes starting a computer and executing a program and a monitoring tool to collect calls to a memory during execution of the program, detecting a call to the memory using the monitoring tool, extracting lines of code which request access to a memory address via the call to the memory, detecting a set of variables to which access is granted via the call to the memory, extracting, after execution of the predetermined program, the set of variables for each of the lines of code, detecting erroneous memory usage by matching the extracted lines of code with the set of variables, and determining the call as erroneous upon access being granted to the memory corresponding to the set of variables during execution of the predetermined program when access is not possible during the execution of the program.

    摘要翻译: 提供了一种检测错误存储器使用的方法。 该方法包括启动计算机并执行程序和监视工具以在执行程序期间收集对存储器的呼叫,使用监视工具检测到对存储器的呼叫,提取通过该存储器地址请求访问存储器地址的代码行 调用存储器,检测通过对存储器的调用向其授予访问的一组变量,在执行预定程序之后,提取每行代码的变量集合,通过匹配 提取的代码行与变量集合,并且当在执行程序期间不可访问时,在执行预定程序期间,在访问时将调用确定为对应于该组变量的存储器的错误。