C-rusted is an innovative technology whereby C programs can be (partly) annotated so as to express: ownership, exclusivity and shareability of language, system and user-defined resources; dynamic properties of objects and the way they evolve during program execution. The (partially) annotated C programs can be translated with unmodified versions of any compilation toolchain capable of processing ISO~C code. The annotated C program parts can be validated by static analysis: if the static analyzer flags no error, then the annotations are provably coherent among themselves and with respect to annotated C code, in which case said annotated parts are provably exempt from a large class of logic, security, and run-time errors.
翻译:C-rusted是一项创新技术,通过(部分)注释C程序,可表达:语言、系统及用户定义资源的拥有权、排他性与可共享性;对象的动态属性及其在程序执行过程中的演化方式。经(部分)注释的C程序可通过任何能够处理ISO~C代码的未修改版编译工具链进行翻译。注释后的C程序部分可通过静态分析进行验证:若静态分析器未标记任何错误,则注释之间及其与注释的C代码之间具有可证明的一致性,此时所述注释部分可被证明免于大量逻辑错误、安全错误与运行时错误。