当前位置:网站首页>how to prove compiler‘s correctness
how to prove compiler‘s correctness
2022-07-07 19:25:00 【Grand mage yunzhongjun】
Formal verification
Compiler correctness for all input programs
since the tool to find the proof (theorem prover) is implemented in software and is complex,
there is a high probability it will contain errors.
One approach has been to use a tool that verifies the proof (a proof checker) which,
because it is much simpler than a proof-finder, is less likely to contain errors.
A prominent example of this approach is CompCert,
which is a formally verified optimizing compiler of a large subset of C99.
Translation validation: compiler correctness on a given program
In contrast to attempting to prove that a compiler is correct for all valid input programs
translation validation aims to automatically establish that a given input program is compiled correctly
compares the intermediate form of the program before and after each compiler pass and verifies the preservation of semantics.
Testing
generates random programs to try to find bugs in a compiler
minimize a found test case to make it easier to understand
边栏推荐
- IP netns command (memo)
- Hongmeng smart home [1.0]
- Jerry's headphones with the same channel are not allowed to pair [article]
- 2022.07.04
- 编译原理 实验一:词法分析器的自动实现(Lex词法分析)
- 最长公共前缀(leetcode题14)
- Unable to link the remote redis server (solution 100%
- Former richest man, addicted to farming
- State mode - Unity (finite state machine)
- "Decryption" Huawei machine vision Corps: Huawei is moving up and the industry is moving forward
猜你喜欢
How to estimate the value of "not selling pens" Chenguang?
Tips and tricks of image segmentation summarized from 39 Kabul competitions
Policy mode - unity
How to choose the appropriate automated testing tools?
2022.07.04
杰理之手动配对方式【篇】
杰理之关于 TWS 配对方式配置【篇】
高温火烧浑不怕,钟薛高想留清白在人间
多个kubernetes集群如何实现共享同一个存储
Former richest man, addicted to farming
随机推荐
Research and practice of super-resolution technology in the field of real-time audio and video
杰理之测试盒配置声道【篇】
[information security laws and regulations] review
testing and SQA_ Dynamic white box test [easy to understand]
Chief technology officer of Pasqual: analog quantum computing takes the lead in bringing quantum advantages to industry
杰理之关于 TWS 配对方式配置【篇】
L1-019 who falls first (Lua)
抢占周杰伦
Short selling, overprinting and stock keeping, Oriental selection actually sold 2.66 million books in Tiktok in one month
LeetCode 535(C#)
前首富,沉迷种田
6. About JWT
In 2021, the national average salary was released. Have you reached the standard?
虚拟数字人里的生意经
Teach your sister to write the message queue hand in hand
數據驗證框架 Apache BVal 再使用
UVALive – 4621 Cav 贪心 + 分析「建议收藏」
Policy mode - unity
SD_ DATA_ RECEIVE_ SHIFT_ REGISTER
SD_ DATA_ SEND_ SHIFT_ REGISTER