Amazon cover image
Image from Amazon.com

Value-Range Analysis of C Programs [electronic resource] : Towards Proving the Absence of Buffer Overflow Vulnerabilities / edited by Axel Simon.

By: Contributor(s): Material type: TextTextPublisher: London : Springer London, 2008Description: online resourceContent type:
  • text
Media type:
  • computer
Carrier type:
  • online resource
ISBN:
  • 9781848000179
Subject(s): Additional physical formats: Printed edition:: No titleDDC classification:
  • 005.1015113 23
LOC classification:
  • QA76.9.L63
  • QA76.5913
  • QA76.63
Online resources:
Contents:
From the Contents: Preface -- Introduction.-Value Range Analysis -- Analysing C -- A Semantics for C -- Core C -- Related Work -- Part 1 Abstracting Soundly -- Abstract State Space -- Points-To Analysis -- Numeric Domains -- Taming Casting and Wrapping -- A Language Featuring Finite Integer Arithmetic -- Implicit Wrapping of Polyhedral Variables -- Explicit Wrapping of Polyhedral Variables -- An Abstract Semantics for SubC -- Discussion -- Overlapping Memory Accesses and Pointers -- Memory as a Set of Fields -- Mixing Values and Pointers -- Abstraction Relation -- Abstract Semantics -- Part II Ensuring Efficiency -- Planar Polyhedra -- Operations on Inequalities -- Operations on Sets of Inequalities -- The TVPI Abstract Domain -- The Integral TVPI Domain -- Interfacing Analysis and Numeric Domain -- Inferring Relevant Fields and Addresses -- Applying Widening in Fixpoint Calculations -- Part III Improving Precision -- Tracking String Lengths -- Widening with Landmarks -- Combining Points-To and Numeric Analysis -- Conclusion and Outlook.
In: Springer eBooksSummary: The use of static analysis techniques to prove the partial correctness of C code has recently attracted much attention due to the high cost of software errors - particularly with respect to security vulnerabilities. However, research into new analysis techniques is often hampered by the technical difficulties of analysing accesses through pointers, pointer arithmetic, coercion between types, integer wrap-around and other low-level behaviour. Axel Simon provides a concise, yet formal description of a value-range analysis that soundly approximates the semantics of C programs using systems of linear inequalities (polyhedra). The analysis is formally specified down to the bit-level while providing a precise approximation of all low-level aspects of C using polyhedral operations and, as such, it provides a basis for implementing new analyses that are aimed at verifying higher-level program properties precisely. One example of such an analysis is the tracking of the NUL position in C string buffers, which is shown as an extension to the basic analysis and which thereby demonstrates the modularity of the approach. While the book focuses on a sound analysis of C, it will be useful to any researcher and student with an interest in static analysis of real-world programming languages. In fact, many concepts presented here carry over to other languages such as Java or assembler, to other applications such as taint analysis, array and shape analysis and possibly even to other approaches such as run-time verification and test data generation.
Tags from this library: No tags from this library for this title. Log in to add tags.
Star ratings
    Average rating: 0.0 (0 votes)
Holdings
Item type Current library Call number Status Date due Barcode
E-Book E-Book Central Library Available E-40586

From the Contents: Preface -- Introduction.-Value Range Analysis -- Analysing C -- A Semantics for C -- Core C -- Related Work -- Part 1 Abstracting Soundly -- Abstract State Space -- Points-To Analysis -- Numeric Domains -- Taming Casting and Wrapping -- A Language Featuring Finite Integer Arithmetic -- Implicit Wrapping of Polyhedral Variables -- Explicit Wrapping of Polyhedral Variables -- An Abstract Semantics for SubC -- Discussion -- Overlapping Memory Accesses and Pointers -- Memory as a Set of Fields -- Mixing Values and Pointers -- Abstraction Relation -- Abstract Semantics -- Part II Ensuring Efficiency -- Planar Polyhedra -- Operations on Inequalities -- Operations on Sets of Inequalities -- The TVPI Abstract Domain -- The Integral TVPI Domain -- Interfacing Analysis and Numeric Domain -- Inferring Relevant Fields and Addresses -- Applying Widening in Fixpoint Calculations -- Part III Improving Precision -- Tracking String Lengths -- Widening with Landmarks -- Combining Points-To and Numeric Analysis -- Conclusion and Outlook.

The use of static analysis techniques to prove the partial correctness of C code has recently attracted much attention due to the high cost of software errors - particularly with respect to security vulnerabilities. However, research into new analysis techniques is often hampered by the technical difficulties of analysing accesses through pointers, pointer arithmetic, coercion between types, integer wrap-around and other low-level behaviour. Axel Simon provides a concise, yet formal description of a value-range analysis that soundly approximates the semantics of C programs using systems of linear inequalities (polyhedra). The analysis is formally specified down to the bit-level while providing a precise approximation of all low-level aspects of C using polyhedral operations and, as such, it provides a basis for implementing new analyses that are aimed at verifying higher-level program properties precisely. One example of such an analysis is the tracking of the NUL position in C string buffers, which is shown as an extension to the basic analysis and which thereby demonstrates the modularity of the approach. While the book focuses on a sound analysis of C, it will be useful to any researcher and student with an interest in static analysis of real-world programming languages. In fact, many concepts presented here carry over to other languages such as Java or assembler, to other applications such as taint analysis, array and shape analysis and possibly even to other approaches such as run-time verification and test data generation.

There are no comments on this title.

to post a comment.

Maintained by VTU Library