TY - GEN
T1 - Certifying measurement unit safety policy
AU - Roşu, Grigore
AU - Chen, Feng
N1 - Publisher Copyright:
© 2003 IEEE
PY - 2003
Y1 - 2003
N2 - Measurement unit safety policy checking is a topic in software analysis concerned with ensuring that programs do not violate basic principles of units of measurement. Such violations can hide significant domain-specific errors which are hard or impossible to find otherwise. Measurement unit analysis by means of automatic deduction is addressed in this paper. We draw general design principles for measurement unit certification tools and discuss our prototype for the C language, which includes both dynamic and static checkers. Our approach is based on assume/assert annotations of code, which are properly interpreted by our deduction-based tools and ignored by standard compilers. We do not modify the language in order to support units. The approach can be extended to incorporate other safety policies without great efforts.
AB - Measurement unit safety policy checking is a topic in software analysis concerned with ensuring that programs do not violate basic principles of units of measurement. Such violations can hide significant domain-specific errors which are hard or impossible to find otherwise. Measurement unit analysis by means of automatic deduction is addressed in this paper. We draw general design principles for measurement unit certification tools and discuss our prototype for the C language, which includes both dynamic and static checkers. Our approach is based on assume/assert annotations of code, which are properly interpreted by our deduction-based tools and ignored by standard compilers. We do not modify the language in order to support units. The approach can be extended to incorporate other safety policies without great efforts.
UR - http://www.scopus.com/inward/record.url?scp=24944470587&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=24944470587&partnerID=8YFLogxK
U2 - 10.1109/ASE.2003.1240326
DO - 10.1109/ASE.2003.1240326
M3 - Conference contribution
AN - SCOPUS:24944470587
T3 - Proceedings - 18th IEEE International Conference on Automated Software Engineering, ASE 2003
SP - 304
EP - 309
BT - Proceedings - 18th IEEE International Conference on Automated Software Engineering, ASE 2003
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 18th IEEE International Conference on Automated Software Engineering, ASE 2003
Y2 - 6 October 2003 through 10 October 2003
ER -