Tag-Protector: An Effective and Dynamic Detection of Out-of-bound Memory Accesses
Title | Tag-Protector: An Effective and Dynamic Detection of Out-of-bound Memory Accesses |
Publication Type | Conference Paper |
Year of Publication | 2016 |
Authors | Saeed, Ahmed, Ahmadinia, Ali, Just, Mike |
Conference Name | Proceedings of the Third Workshop on Cryptography and Security in Computing Systems |
Publisher | ACM |
Conference Location | New York, NY, USA |
ISBN Number | 978-1-4503-4065-6 |
Keywords | Buffer overflows, Compile-time code instrumentation, illegal memory accesses, Metrics, pubcrawl, Resiliency, scalabilty, Securing Compilers |
Abstract | Programming languages permitting immediate memory accesses through pointers often result in applications having memory-related errors, which may lead to unpredictable failures and security vulnerabilities. A light-weight solution is presented in this paper to tackle such illegal memory accesses dynamically in C/C++ based applications. We propose a new and effective method of instrumenting an application's source code at compile time in order to detect out-of-bound memory accesses. It is based on creating tags, to be coupled with each memory allocation and then placing additional tag checking instructions for each access made to the memory. The proposed solution is evaluated by instrumenting applications from the BugBench benchmark suite and publicly available benchmark software, Runtime Intrusion Prevention Evaluator (RIPE), detecting all the bugs successfully. The performance and memory overhead is further analysed by instrumenting and executing real world applications. |
URL | http://doi.acm.org/10.1145/2858930.2858936 |
DOI | 10.1145/2858930.2858936 |
Citation Key | saeed_tag-protector:_2016 |