Validation of Memory Accesses Through Symbolic Analyses

Abstract : The C programming language does not prevent out-of- bounds memory accesses. There exist several techniques to secure C programs; however, these methods tend to slow down these programs substantially, because they populate the binary code with runtime checks. To deal with this prob- lem, we have designed and tested two static analyses - sym- bolic region and range analysis - which we combine to re- move the majority of these guards. In addition to the analy- ses themselves, we bring two other contributions. First, we describe live range splitting strategies that improve the effi- ciency and the precision of our analyses. Secondly, we show how to deal with integer overflows, a phenomenon that can compromise the correctness of static algorithms that validate memory accesses. We validate our claims by incorporating our findings into AddressSanitizer. We generate SPEC CINT 2006 code that is 17% faster and 9% more energy efficient than the code produced originally by this tool. Furthermore, our approach is 50% more effective than Pentagons, a state- of-the-art analysis to sanitize memory accesses.
Document type :
Conference papers
Liste complète des métadonnées

Cited literature [36 references]  Display  Hide  Download

https://hal.inria.fr/hal-01006209
Contributor : Laure Gonnord <>
Submitted on : Tuesday, March 24, 2015 - 2:03:45 PM
Last modification on : Wednesday, April 17, 2019 - 7:22:02 PM
Document(s) archivé(s) le : Wednesday, July 1, 2015 - 11:40:16 AM

File

oopsla14_memory_author_version...
Files produced by the author(s)

Licence


Distributed under a Creative Commons Attribution - NonCommercial 4.0 International License

Identifiers

Collections

Citation

Henrique Nazaré, Izabela Maffra, Willer Santos, Leonardo Oliveira, Fernando Magno Quintão Pereira, et al.. Validation of Memory Accesses Through Symbolic Analyses. ACM International Conference on Object Oriented Programming Systems Languages & Applications (OOPSLA'14), Oct 2014, Portland, Oregon, United States. pp.791-809, ⟨10.1145/2660193.2660205⟩. ⟨hal-01006209⟩

Share

Metrics

Record views

573

Files downloads

370