A fast and low-overhead technique to secure programs against integer overflows. Rodrigues, R., Sperle Campos, V., & Magno Quintao Pereira, F. In Proc. of the Int'l Symp. on Code Generation and Optimization, pages 1--11, 2013. abstract bibtex The integer primitive type has upper and lower bounds in many programming languages, including C, and Java. These limits might lead programs that manipulate large integer numbers to produce unexpected results due to overflows. There exists a plethora of works that instrument programs to track the occurrence of these overflows. In this paper we present an algorithm that uses static range analysis to avoid this instrumentation whenever possible. Our range analysis contains novel techniques, such as a notion of “future” bounds to handle comparisons between variables. We have used this algorithm to avoid some checks created by a dynamic instrumentation library that we have implemented in LLVM. This framework has been used to detect overflows in hundreds of C/C++ programs. As a testimony of its effectiveness, our range analysis has been able to avoid 25% of all the overflow checks necessary to secure the C programs in the LLVM test suite. This optimization has reduced the runtime overhead of instrumentation by 50%.
@inproceedings{rodrigues_fast_2013,
title = {A fast and low-overhead technique to secure programs against integer overflows},
abstract = {The integer primitive type has upper and lower bounds in many programming languages, including C, and Java. These limits might lead programs that manipulate large integer numbers to produce unexpected results due to overflows. There exists a plethora of works that instrument programs to track the occurrence of these overflows. In this paper we present an algorithm that uses static range analysis to avoid this instrumentation whenever possible. Our range analysis contains novel techniques, such as a notion of “future” bounds to handle comparisons between variables. We have used this algorithm to avoid some checks created by a dynamic instrumentation library that we have implemented in LLVM. This framework has been used to detect overflows in hundreds of C/C++ programs. As a testimony of its effectiveness, our range analysis has been able to avoid 25\% of all the overflow checks necessary to secure the C programs in the LLVM test suite. This optimization has reduced the runtime overhead of instrumentation by 50\%.},
booktitle = {Proc. of the {Int}'l {Symp}. on {Code} {Generation} and {Optimization}},
author = {Rodrigues, R.E. and Sperle Campos, V.H. and Magno Quintao Pereira, F.},
year = {2013},
keywords = {C languages, C++ language, C++ programs, Integer Overflow, Java, LLVM test suite, Range analysis, compiler, dynamic instrumentation library, instrument programs, integer overflows, integer primitive type, low-overhead technique, lower bounds, number theory, program diagnostics, program security, program testing, programming languages, security of data, static range analysis, upper bounds},
pages = {1--11}
}
Downloads: 0
{"_id":"F49N7gKYpC6cSXi4m","bibbaseid":"rodrigues-sperlecampos-magnoquintaopereira-afastandlowoverheadtechniquetosecureprogramsagainstintegeroverflows-2013","downloads":0,"creationDate":"2016-10-15T13:23:23.516Z","title":"A fast and low-overhead technique to secure programs against integer overflows","author_short":["Rodrigues, R.","Sperle Campos, V.","Magno Quintao Pereira, F."],"year":2013,"bibtype":"inproceedings","biburl":"http://bibbase.org/zotero/pentarious","bibdata":{"bibtype":"inproceedings","type":"inproceedings","title":"A fast and low-overhead technique to secure programs against integer overflows","abstract":"The integer primitive type has upper and lower bounds in many programming languages, including C, and Java. These limits might lead programs that manipulate large integer numbers to produce unexpected results due to overflows. There exists a plethora of works that instrument programs to track the occurrence of these overflows. In this paper we present an algorithm that uses static range analysis to avoid this instrumentation whenever possible. Our range analysis contains novel techniques, such as a notion of “future” bounds to handle comparisons between variables. We have used this algorithm to avoid some checks created by a dynamic instrumentation library that we have implemented in LLVM. This framework has been used to detect overflows in hundreds of C/C++ programs. As a testimony of its effectiveness, our range analysis has been able to avoid 25% of all the overflow checks necessary to secure the C programs in the LLVM test suite. This optimization has reduced the runtime overhead of instrumentation by 50%.","booktitle":"Proc. of the Int'l Symp. on Code Generation and Optimization","author":[{"propositions":[],"lastnames":["Rodrigues"],"firstnames":["R.E."],"suffixes":[]},{"propositions":[],"lastnames":["Sperle","Campos"],"firstnames":["V.H."],"suffixes":[]},{"propositions":[],"lastnames":["Magno","Quintao","Pereira"],"firstnames":["F."],"suffixes":[]}],"year":"2013","keywords":"C languages, C++ language, C++ programs, Integer Overflow, Java, LLVM test suite, Range analysis, compiler, dynamic instrumentation library, instrument programs, integer overflows, integer primitive type, low-overhead technique, lower bounds, number theory, program diagnostics, program security, program testing, programming languages, security of data, static range analysis, upper bounds","pages":"1--11","bibtex":"@inproceedings{rodrigues_fast_2013,\n\ttitle = {A fast and low-overhead technique to secure programs against integer overflows},\n\tabstract = {The integer primitive type has upper and lower bounds in many programming languages, including C, and Java. These limits might lead programs that manipulate large integer numbers to produce unexpected results due to overflows. There exists a plethora of works that instrument programs to track the occurrence of these overflows. In this paper we present an algorithm that uses static range analysis to avoid this instrumentation whenever possible. Our range analysis contains novel techniques, such as a notion of “future” bounds to handle comparisons between variables. We have used this algorithm to avoid some checks created by a dynamic instrumentation library that we have implemented in LLVM. This framework has been used to detect overflows in hundreds of C/C++ programs. As a testimony of its effectiveness, our range analysis has been able to avoid 25\\% of all the overflow checks necessary to secure the C programs in the LLVM test suite. This optimization has reduced the runtime overhead of instrumentation by 50\\%.},\n\tbooktitle = {Proc. of the {Int}'l {Symp}. on {Code} {Generation} and {Optimization}},\n\tauthor = {Rodrigues, R.E. and Sperle Campos, V.H. and Magno Quintao Pereira, F.},\n\tyear = {2013},\n\tkeywords = {C languages, C++ language, C++ programs, Integer Overflow, Java, LLVM test suite, Range analysis, compiler, dynamic instrumentation library, instrument programs, integer overflows, integer primitive type, low-overhead technique, lower bounds, number theory, program diagnostics, program security, program testing, programming languages, security of data, static range analysis, upper bounds},\n\tpages = {1--11}\n}\n\n","author_short":["Rodrigues, R.","Sperle Campos, V.","Magno Quintao Pereira, F."],"key":"rodrigues_fast_2013","id":"rodrigues_fast_2013","bibbaseid":"rodrigues-sperlecampos-magnoquintaopereira-afastandlowoverheadtechniquetosecureprogramsagainstintegeroverflows-2013","role":"author","urls":{},"keyword":["C languages","C++ language","C++ programs","Integer Overflow","Java","LLVM test suite","Range analysis","compiler","dynamic instrumentation library","instrument programs","integer overflows","integer primitive type","low-overhead technique","lower bounds","number theory","program diagnostics","program security","program testing","programming languages","security of data","static range analysis","upper bounds"],"downloads":0},"search_terms":["fast","low","overhead","technique","secure","programs","against","integer","overflows","rodrigues","sperle campos","magno quintao pereira"],"keywords":["c languages","c++ language","c++ programs","integer overflow","java","llvm test suite","range analysis","compiler","dynamic instrumentation library","instrument programs","integer overflows","integer primitive type","low-overhead technique","lower bounds","number theory","program diagnostics","program security","program testing","programming languages","security of data","static range analysis","upper bounds"],"authorIDs":[],"dataSources":["QiRZ7m7shEMvADZkd"]}