CapC: Capability C semantics, tools and reasoning

CapC:Capability C 语义、工具和推理

基本信息

  • 批准号:
    EP/V000470/1
  • 负责人:
  • 金额:
    $ 61.82万
  • 依托单位:
  • 依托单位国家:
    英国
  • 项目类别:
    Research Grant
  • 财政年份:
    2020
  • 资助国家:
    英国
  • 起止时间:
    2020 至 无数据
  • 项目状态:
    未结题

项目摘要

We address a difficult technical problem that is drawn from industry:we seek a solution to fundamental problems found in the standards ofthe C and C++ programming languages. C and C++ code is not justprevalent -- it is used to form the lowest and most trusted levels ofour systems. The kernel of every mainstream operating system uses somecombination of the two, including Windows, MacOS, iOS, Android, Linuxand Unix, as do the swathe of embedded controllers with essentialfunctions like automotive engine management. Having a goodspecification of the language is the first step in verifying thecorrectness of these vital system components.-- Combatting software failure --This work is part of a larger effort to combat software failure bydeveloping techniques to verify the correctness of software.Currently, developers of computer systems rely predominantly ontesting to ensure that systems behave as they should. The system isrun for some time over various inputs and monitored for failure. Thehope is that this will expose enough of the flaws in the system tomake it reliable once it is deployed. But it is increasinglyexpensive to achieve good coverage: systems like cars experiencewildly varied inputs, and a fleet of a particular model of car runscollectively for far longer than the time its computer systems aretested. Worse still, modern systems are concurrent -- using multiplecommunicating processors to complete a task. The delicate interplaybetween the concurrent processors makes the output of the systemdependent on the timing of communication, so that some behavioursoccur only a handful of times in billions of runs, leaving testinglittle hope of finding associated bugs. When scrutinising securityproperties, one is faced not with simple circumstance, but with acommitted adversary that cannot be replicated by simple testing.There is evidence that validating software through testing is breakingdown and some bugs are evading discovery even in critical systems: forexample a concurrency bug caused some of Toyota's cars to suddenly andrelentlessly accelerate, killing 83 over 10 years. The wider economiccost of software failure was estimated by the U.S. National Instituteof Standards and Technology to cost USD 60bn each year. Improving ourapproach to software failure would have substantial economic andsocietal impact.Verification offers an alternative to testing: one defines desirableproperties of the system -- it will not crash, fuel metering will beproportional to accelerator input, and so on -- and mathematicallyproves that the code satisfies them. In the ideal of verification,there is no space for bugs to creep in and the mathematical proof ofcorrectness is absolute. This is particularly valuable for securityproperties. Unfortunately, verification techniques are invariablybuilt above an idealised model of the computer system, e.g.\ theassumption that memory accesses take place in a global sequentialorder, so called sequential consistency (SC). The distance between theideal and the reality leaves ample space for bugs to persist. In factthe status quo is much worse because we do not have a characterisationof the reality of the system's behaviour: our best models ofprogramming-language behaviour are known to be broken, e.g.\ in C, C++and Java.In this broad context, our project will develop a description the Clanguage that matches the reality, permitting the sorts of behaviourexhibited by compiler optimisations and the underlying concurrentprocessors. At the same time, we will develop verification techniquesin a setting that correctly models the subtle behaviour of modernlanguages, dovetailing these previously disparate views of thesystem. Our work will make verification of concurrent systems moreviable, including security properties, helping to address the economicand social costs of software failure.
我们解决了一个来自工业界的技术难题:我们寻求解决C和C++编程语言标准中的基本问题。C和C++代码不仅仅是流行的--它被用来构成我们系统的最低和最可信的级别。每一个主流操作系统的内核都使用这两种操作系统的结合,包括Windows、MacOS、iOS、Android、Linux和Unix,以及一系列具有汽车发动机管理等基本功能的嵌入式控制器。有一个良好的语言规范是验证这些重要系统组件正确性的第一步。对抗软件故障--这项工作是通过开发技术来验证软件正确性来对抗软件故障的更大努力的一部分。目前,计算机系统的开发人员主要依靠测试来确保系统按其应有的方式运行。系统在各种输入上运行一段时间,并监视故障。他们希望这将暴露出系统中足够多的缺陷,使其在部署后变得可靠。但是,要达到良好的覆盖率,成本越来越高:像汽车这样的系统会经历各种各样的输入,一个特定型号的汽车车队选择性地运行的时间远远超过其计算机系统测试的时间。更糟糕的是,现代系统是并发的--使用多个并行处理器来完成一项任务。并发处理器之间微妙的相互作用使得系统的输出依赖于通信的时间,因此某些行为在数十亿次运行中只发生少数几次,使得测试几乎没有希望找到相关的错误。在审查安全属性时,人们面临的不是简单的情况,而是无法通过简单测试复制的特定对手。有证据表明,通过测试验证软件正在崩溃,甚至在关键系统中也有一些错误无法被发现:例如,一个并发错误导致丰田的一些汽车突然无情地加速,在10年内造成83人死亡。据美国国家标准与技术研究所估计,软件故障造成的更广泛的经济损失每年为600亿美元。改进我们对软件故障的处理方法将产生巨大的经济和社会影响。验证提供了一种替代测试的方法:一种方法是定义系统的合理属性--它不会崩溃,燃料计量将与加速器输入成比例,等等--并最终证明代码满足这些属性。在理想的验证中,没有漏洞的空间,正确性的数学证明是绝对的。这对于安全属性特别有价值。不幸的是,验证技术总是建立在计算机系统的理想模型之上,例如,存储器访问以全局顺序顺序发生的假设,即所谓的顺序一致性(SC)。理想和现实之间的距离为bug留下了足够的生存空间。事实上,现状要糟糕得多,因为我们没有一个系统行为的现实特征:我们最好的编程语言行为模型被打破了,例如。在这个广泛的背景下,我们的项目将开发一种描述与现实相匹配的C语言,允许编译器优化和底层并发处理器所表现的各种行为。与此同时,我们将在一个正确模拟现代语言微妙行为的环境中开发验证技术,消除这些以前不同的观点。我们的工作将使并发系统的验证更加可行,包括安全属性,有助于解决软件故障的经济和社会成本。

项目成果

期刊论文数量(8)
专著数量(0)
科研奖励数量(0)
会议论文数量(0)
专利数量(0)
Chronos vs. Chaos
克罗诺斯与混沌
  • DOI:
    10.1145/3510548.3519371
  • 发表时间:
    2022
  • 期刊:
  • 影响因子:
    0
  • 作者:
    Dawson S
  • 通讯作者:
    Dawson S
Memory Consistency Models for Program Transformations: An Intellectual Abstract
程序转换的内存一致性模型:知识摘要
  • DOI:
    10.1145/3591195.3595274
  • 发表时间:
    2023
  • 期刊:
  • 影响因子:
    0
  • 作者:
    Gopalakrishnan A
  • 通讯作者:
    Gopalakrishnan A
Modular Relaxed Dependencies in Weak Memory Concurrency
  • DOI:
    10.1007/978-3-030-44914-8_22
  • 发表时间:
    2020-04-18
  • 期刊:
  • 影响因子:
    0
  • 作者:
    Paviotti M;Cooksey S;Paradis A;Wright D;Owens S;Batty M
  • 通讯作者:
    Batty M
Owicki-Gries Reasoning for C11 Programs with Relaxed Dependencies (Extended Version)
具有宽松依赖性的 C11 程序的 Owicki-Gries 推理(扩展版本)
  • DOI:
    10.48550/arxiv.2108.01418
  • 发表时间:
    2021
  • 期刊:
  • 影响因子:
    0
  • 作者:
    Wright D
  • 通讯作者:
    Wright D
Mechanised Operational Reasoning for C11 Programs with Relaxed Dependencies
具有宽松依赖性的C11程序的机械化操作推理
{{ item.title }}
{{ item.translation_title }}
  • DOI:
    {{ item.doi }}
  • 发表时间:
    {{ item.publish_year }}
  • 期刊:
  • 影响因子:
    {{ item.factor }}
  • 作者:
    {{ item.authors }}
  • 通讯作者:
    {{ item.author }}

数据更新时间:{{ journalArticles.updateTime }}

{{ item.title }}
  • 作者:
    {{ item.author }}

数据更新时间:{{ monograph.updateTime }}

{{ item.title }}
  • 作者:
    {{ item.author }}

数据更新时间:{{ sciAawards.updateTime }}

{{ item.title }}
  • 作者:
    {{ item.author }}

数据更新时间:{{ conferencePapers.updateTime }}

{{ item.title }}
  • 作者:
    {{ item.author }}

数据更新时间:{{ patent.updateTime }}

Mark Batty其他文献

The C11 and C++11 concurrency model
C11 和 C 11 并发模型
  • DOI:
  • 发表时间:
    2015
  • 期刊:
  • 影响因子:
    0
  • 作者:
    Mark Batty
  • 通讯作者:
    Mark Batty
Library Abstraction for C / C + + Concurrency — extended version —
C/C++ 并发的库抽象 — 扩展版本 —
  • DOI:
  • 发表时间:
    2012
  • 期刊:
  • 影响因子:
    0
  • 作者:
    Mark Batty;Mike Dodds
  • 通讯作者:
    Mike Dodds
PrideMM: A Solver for Relaxed Memory Models
PrideMM:松弛内存模型的求解器
  • DOI:
  • 发表时间:
    2018
  • 期刊:
  • 影响因子:
    0
  • 作者:
    Simon Cooksey;Sarah Harris;Mark Batty;Radu Grigore;Mikoláš Janota
  • 通讯作者:
    Mikoláš Janota
with Relaxed
与轻松
  • DOI:
  • 发表时间:
  • 期刊:
  • 影响因子:
    0
  • 作者:
    Daniel Wright;Mark Batty;Brijesh Dongol
  • 通讯作者:
    Brijesh Dongol
Rust for Morello: Always-On Memory Safety, Even in Unsafe Code (Artifact)
Rust for Morello:即使在不安全的代码中也始终保持内存安全(Artifact)
  • DOI:
    10.4230/darts.9.2.25
  • 发表时间:
    2023
  • 期刊:
  • 影响因子:
    0
  • 作者:
    Sarah Harris;Simon Cooksey;M. Vollmer;Mark Batty
  • 通讯作者:
    Mark Batty

Mark Batty的其他文献

{{ item.title }}
{{ item.translation_title }}
  • DOI:
    {{ item.doi }}
  • 发表时间:
    {{ item.publish_year }}
  • 期刊:
  • 影响因子:
    {{ item.factor }}
  • 作者:
    {{ item.authors }}
  • 通讯作者:
    {{ item.author }}

{{ truncateString('Mark Batty', 18)}}的其他基金

Safe and secure COncurrent programming for adVancEd aRchiTectures (COVERT)
安全可靠的高级架构并发编程 (COVERT)
  • 批准号:
    EP/X015076/1
  • 财政年份:
    2023
  • 资助金额:
    $ 61.82万
  • 项目类别:
    Research Grant
Transparent pointer safety: Rust to Lua to OS Components
透明指针安全:Rust 到 Lua 到 OS 组件
  • 批准号:
    EP/X021173/1
  • 财政年份:
    2022
  • 资助金额:
    $ 61.82万
  • 项目类别:
    Research Grant
Compositional, dependency-aware C++ concurrency
组合的、依赖感知的 C 并发
  • 批准号:
    EP/R020566/1
  • 财政年份:
    2018
  • 资助金额:
    $ 61.82万
  • 项目类别:
    Research Grant

相似海外基金

Advancing plant synthetic gene circuit capability, robustness, and use
提高植物合成基因电路的能力、稳健性和使用
  • 批准号:
    DP240103385
  • 财政年份:
    2024
  • 资助金额:
    $ 61.82万
  • 项目类别:
    Discovery Projects
Developing a recyclable carbon fibre composite capability for Australia
为澳大利亚开发可回收碳纤维复合材料能力
  • 批准号:
    IM230100048
  • 财政年份:
    2024
  • 资助金额:
    $ 61.82万
  • 项目类别:
    Mid-Career Industry Fellowships
Market Orientation, Big Data Analysis Capability, and Business Performance: The Moderating Role of Supplier Relationship, Big data Analysis Outscoring
市场导向、大数据分析能力与经营绩效:供应商关系的调节作用、大数据分析得分
  • 批准号:
    24K05127
  • 财政年份:
    2024
  • 资助金额:
    $ 61.82万
  • 项目类别:
    Grant-in-Aid for Scientific Research (C)
Towards an Integrated Capability to Explain and Predict Regional Climate Changes (EXPECT)
建立解释和预测区域气候变化的综合能力(EXPECT)
  • 批准号:
    10093446
  • 财政年份:
    2024
  • 资助金额:
    $ 61.82万
  • 项目类别:
    EU-Funded
AHRC Capability for Collections Fund - Stream A (Facilities)
AHRC 收款基金能力 - A 组(设施)
  • 批准号:
    AH/V011901/1
  • 财政年份:
    2023
  • 资助金额:
    $ 61.82万
  • 项目类别:
    Research Grant
A Neural Network Management and Distribution System for Providing Super Multi-class Recognition Capability in Real Space
一种提供真实空间超多类别识别能力的神经网络管理与分发系统
  • 批准号:
    23K11120
  • 财政年份:
    2023
  • 资助金额:
    $ 61.82万
  • 项目类别:
    Grant-in-Aid for Scientific Research (C)
Mass spectrometry approaches to address capability gaps in drug discovery for membrane transporters
质谱方法可解决膜转运蛋白药物发现中的能力差距
  • 批准号:
    2877802
  • 财政年份:
    2023
  • 资助金额:
    $ 61.82万
  • 项目类别:
    Studentship
Developing the capability to forecast extreme Space Weather events
发展预测极端空间天气事件的能力
  • 批准号:
    2887653
  • 财政年份:
    2023
  • 资助金额:
    $ 61.82万
  • 项目类别:
    Studentship
Capability for wafer-level sub-nanometre scale imaging
晶圆级亚纳米级成像能力
  • 批准号:
    EP/X041166/1
  • 财政年份:
    2023
  • 资助金额:
    $ 61.82万
  • 项目类别:
    Research Grant
Collaborative Research: Frameworks: Advancing Computer Hardware and Systems' Research Capability, Reproducibility, and Sustainability with the gem5 Simulator Ecosystem
协作研究:框架:利用 gem5 模拟器生态系统提升计算机硬件和系统的研究能力、可重复性和可持续性
  • 批准号:
    2311893
  • 财政年份:
    2023
  • 资助金额:
    $ 61.82万
  • 项目类别:
    Standard Grant
{{ showInfoDetail.title }}

作者:{{ showInfoDetail.author }}

知道了