Computer and Modernization

Previous Articles     Next Articles

Improved Object-based Approaches for Bounds Checking of C Programs

  

  1. (College of Computer Science and Technology, Nanjing University of Aeronautics and Astronautics, Nanjing 210016, China)
  • Received:2015-04-20 Online:2015-10-10 Published:2015-10-10

Abstract: C programs are efficient because it did not check memory bounds safety. However, it also brought a lot of security issues, such as out of bounds of arrays and pointers, illegal operations of C library functions. Object-based runtime verification approaches can monitor program running and find bugs automatically. We improved the traditional approaches by changing address range records of multidimensional arrays and structure variables, querying address two times to detect pointer access, and using AVL tree for storage structure of records. The experiment shows that our approach is better than traditional ones.

Key words: runtime verification, object-based approach, bounds checking

CLC Number: