会员体验
专利管家(专利管理)
工作空间(专利管理)
风险监控(情报监控)
数据分析(专利分析)
侵权分析(诉讼无效)
联系我们
交流群
官方交流:
QQ群: 891211   
微信请扫码    >>>
现在联系顾问~
热词
    • 2. 发明授权
    • Method and apparatus for detecting memory access errors
    • 用于检测存储器访问错误的方法和装置
    • US5590329A
    • 1996-12-31
    • US192239
    • 1994-02-04
    • James E. Goodnow, IIThaddeus J. KowalskiJames R. Rowland
    • James E. Goodnow, IIThaddeus J. KowalskiJames R. Rowland
    • G06F12/14G06F9/06G06F11/28G06F11/30G06F11/36G06F11/08
    • G06F11/3624
    • Disclosed is a software generation system (SGS) based memory error detection system which may be utilized to detect various memory access errors, such as array dimension violations, dereferencing of invalid pointers, accessing freed memory, reading uninitialized memory, and automated detection of memory leaks. Error checking commands and additional information are inserted into a parse tree associated with a source code file being tested at read-time which serve to initiate and facilitate run-time error detection processes. Wrapper functions may be provided for initiating error checking processes for associated library functions. A pointer check table maintains pointer information, including valid range information, for each pointer that is utilized to monitor the use and modification of the respective pointers. A memory allocation structure records allocation information, including a chain list of all pointers that point to the memory region and an initialization status for each byte in the memory region, for each region of memory. The chain list is utilized to monitor the deallocation of the associated memory region, as well as to detect when there is a memory leak. The initialization status is used to ensure that a region of uninitialized memory is not accessed. A data flow analysis algorithm minimizes the number of pointer checks that have to be performed and allows certain read-time errors to be detected.
    • 公开了一种基于软件生成系统(SGS)的存储器错误检测系统,其可以用于检测各种存储器访问错误,例如阵列维度违规,无效指针的解除引用,访问释放的存储器,读取未初始化的存储器以及自动检测存储器泄漏 。 错误检查命令和附加信息被插入与在读取时测试的源代码文件相关联的解析树中,该源代码文件用于启动和促进运行时错误检测过程。 可以提供包装器功能来启动关联的库功能的错误检查过程。 指针检查表维护用于监视各个指针的使用和修改的每个指针的指针信息,包括有效范围信息。 存储器分配结构针对存储器的每个区域记录分配信息,包括指向存储器区域的所有指针的链表和存储器区域中的每个字节的初始化状态。 链表用于监视关联的存储器区域的释放,以及检测何时存在内存泄漏。 初始化状态用于确保未初始化的内存区域不被访问。 数据流分析算法使得必须执行的指针检查的数量最小化,并允许检测到某些读取时间错误。