Verifying Fortran Programs with CIVL
Verifying Fortran Programs with CIVL
复制标题
使用 CIVL 验证 Fortran 程序
DOI:
10.1007/978-3-030-99524-9_6
复制
发表时间:
2022
期刊:
影响因子:
--
通讯作者:
Siegel, Stephen F.
中科院分区:
文献类型:
--
作者:
Wu, Wenhao;Hückelheim, Jan;Hovland, Paul D.;Siegel, Stephen F.
Fortran is widely used in computational science, engineering, and high performance computing. This paper presents an extension to the CIVL verification framework to check correctness properties of Fortran programs. Unlike previous work that translates Fortran to C, LLVM IR, or other intermediate formats before verification, our work allows CIVL to directly consume Fortran source files. We extended the parsing, translation, and analysis phases to support Fortran-specific features such as array slicing and reshaping, and to find program violations that are specific to Fortran, such as argument aliasing rule violations, invalid use of variable and function attributes, or defects due to Fortran’s unspecified expression evaluation order. We demonstrate the usefulness of our tool on a verification benchmark suite and kernels extracted from a real world application.