首页> 外文会议>ACM SIGPLAN Conference on Programming Language Design and Implementation >Almost-Correct Specifications: A Modular Semantic Framework for Assigning Confidence to Warnings
【24h】

Almost-Correct Specifications: A Modular Semantic Framework for Assigning Confidence to Warnings

机译:几乎正确的规格:用于为警告分配信心的模块化语义框架

获取原文

摘要

Modular assertion checkers are plagued with false alarms due to the need for precise environment specifications (preconditions and callee postconditions). Even the fully precise checkers report assertion failures under the most demonic environments allowed by unconstrained or partial specifications. The inability to preclude overly adversarial environments makes such checkers less attractive to developers and severely limits the adoption of such tools in the development cycle. In this work, we propose a parameterized framework for prioritizing the assertion failures reported by a modular verifier, with the goal of suppressing warnings from overly demonic environments. We formalize almost-correct specifications as the minimal weakening of an angelic specification (over a set of predicates) that precludes any dead code intraprocedurally. Our work is inspired by and generalizes some aspects of semantic inconsistency detection. Our formulation allows us to lift this idea to a general class of warnings. We have developed a prototype ACSPEC, which we use to explore a few instantiations of the framework and report preliminary findings on a diverse set of C benchmarks.
机译:由于需要精确的环境规范(前提条件和Callee Postconditions),模块化断声检查器具有误报。即使是完全精确的跳棋,也会报告由无约束或部分规格允许的最多可恶魔环境下的断言失败。无法排除过度对抗性环境使这些跳棋对开发人员具有吸引力,并且严重限制了在开发周期中的这种工具的采用。在这项工作中,我们提出了一个参数化框架,用于优先考虑模块化验证者报告的断言失败,其目标是抑制来自过度恶魔环境的警告。我们将几乎校正的规格形式形式形式化为天使规范的最小弱化(在一组谓词上)排除了任何死亡代码的内容。我们的工作受到启发并概括了语义不一致检测的一些方面。我们的配方允许我们将这个想法提升到一般的警告。我们开发了一种原型ACSPEC,我们使用探索框架的一些实例化,并在多种C基准上报告初步调查结果。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号