Microsoft Research Audio 104817: Specification-Based Annotation Inference

Microsoft Research
Язык: English
Source:
В настоящее время треков нет. Пожалуйста, зайдите позже!

О книге

A great wealth of information about a program may be implicit in the source code itself; for example, in C and C++ this includes parameter usage and NULL-ness, buffer extents, potential taint, and resource management obligations. When this information is added to existing programs in the form of annotations, aspects of the program's correctness can be verified by checking the source code on a function-by-function basis. However, it is time-consuming to manually annotate millions of lines of legacy code.

In this talk we present a specification language and engine to be used for automatically inferring annotations in very large programs. A specification consists of a collection of rules for deriving possible program states and annotations in a flow-sensitive manner, and the engine performs a graph search to exhaustively apply those rules. Specifications are independent from the actual program semantics, so the engine may both miss annotations and infer spurious ones; we discuss the usage of soundness (accuracy) and completeness (coverage) as metrics to evaluate specifications.

We present the results of inferring annotations about parameter usage, NULL-ness, and buffer sizes in the complete Windows code base. As part of the Windows SAL effort, these annotations are currently being reviewed and checked in by developers.

©2004 Microsoft Corporation. All rights reserved.

Комментарии

Будьте первым, кто оставит комментарий

К этому контенту пока нет комментариев. Начните обсуждение!

Теги: Microsoft Research Audio 104817: Specification-Based Annotation Inference audio, Microsoft Research Audio 104817: Specification-Based Annotation Inference - Microsoft Research audio, free audiobook, free audio book, audioaz

SPONSORED AD