发明名称 Analysis of Interactions of C and C++ Strings
摘要 A computer implemented method for analyzing a computer software program comprising both C++ and C string components, wherein the method includes building a memory model abstraction of any memory used by the program strings. Various memory models are presented that find invalid memory accesses in terms of validity of memory regions and buffer overflows. The model supports analyzing the interaction of C and C++ components—in particular, it focuses on the interaction of C and C++ strings. The conversion of C++ strings to C strings is accomplished through a non-transferable ownership attribute that is to be respected by the C strings. The models can then be analyzed using static analysis techniques such as abstract interpretation and model checking, or through dynamic analysis. In so doing we allow discovery of potential memory safety violations in programs involving conversions between C and C++ strings.
申请公布号 US2012233584(A1) 申请公布日期 2012.09.13
申请号 US201213416358 申请日期 2012.03.09
申请人 IVANCIC FRANJO;BALAKRISHNAN GOGUL;MAEDA NAOTO;GUPTA AARTI;NEC LABORATORIES AMERICA, INC. 发明人 IVANCIC FRANJO;BALAKRISHNAN GOGUL;MAEDA NAOTO;GUPTA AARTI
分类号 G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项
地址