Executable assertions and separate compilation

被引:0
|
作者
Gough, KJ
Klaeren, H
机构
[1] Queensland Univ Technol, Brisbane, Qld 4001, Australia
[2] Univ Tubingen, D-72076 Tubingen, Germany
来源
关键词
executable assertions; separate compilation; value propagation; elimination of redundant checks;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The use of executable assertions is widely recognised as a useful programming technique for complex systems. In many cases static analysis of programs allows such assertions to be removed at compile time, thus removing the overhead of the test. The use of interprocedural analysis would often allow a larger number of such tests to be statically removed; intermodular analysis could even improve overall safety of the system. In general, however, such analysis is antithetical to separate compilation and extensible systems. In this paper we offer a partial solution to this dilemma: We propose that preconditions become part of the interface definition of an encapsulated object. The implementation consequences of this technique are explored.
引用
收藏
页码:41 / 52
页数:12
相关论文
共 50 条
  • [1] Design Assertions: Executable Assertions for Design Constraints
    Cheon, Yoonsik
    [J]. COMPUTATIONAL SCIENCE AND ITS APPLICATIONS - ICCSA 2022 WORKSHOPS, PART V, 2022, 13381 : 617 - 631
  • [2] ON THE USE OF EXECUTABLE ASSERTIONS IN STRUCTURED PROGRAMS
    MILI, A
    GUEMARA, S
    JAOUA, A
    TORRES, P
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 1987, 7 (01) : 15 - 27
  • [3] SEPARATE COMPILATION IN CHIPSY
    EIDNES, H
    HALLSTEINSEN, SO
    WANVIK, DH
    [J]. PROCEEDINGS OF THE 2ND INTERNATIONAL WORKSHOP ON SOFTWARE CONFIGURATION MANAGEMENT, 1989, 17 : 42 - 45
  • [4] Automatic generation of executable assertions for runtime checking temporal requirements
    Pintér, G
    Majzik, I
    [J]. Ninth IEEE International Symposium on High-Assurance Systems Engineering, 2005, : 111 - 120
  • [5] Executable assertions for detecting data errors in embedded control systems
    Hiller, M
    [J]. DSN 2000: INTERNATIONAL CONFERENCE ON DEPENDABLE SYSTEMS AND NETWORKS, PROCEEDINGS, 2000, : 24 - 33
  • [6] On systematic design of globally consistent executable assertions in embedded software
    Jhumka, A
    Hiller, M
    Claesson, V
    Suri, N
    [J]. ACM SIGPLAN NOTICES, 2002, 37 (07) : 75 - 84
  • [7] THE USE OF EXECUTABLE ASSERTIONS FOR ERROR-DETECTION AND DAMAGE ASSESSMENT
    JAOUA, A
    MILI, A
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 1990, 12 (01) : 15 - 37
  • [8] Separate Compilation of Polychronous Specifications
    Ouy, Julien
    Talpin, Jean-Pierre
    Besnard, Loic
    Le Guernic, Paul
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2008, 200 (01) : 51 - 70
  • [9] Separate compilation for synchronous modules
    Zeng, J
    Edwards, SA
    [J]. EMBEDDED SOFTWARE AND SYSTEMS, PROCEEDINGS, 2005, 3820 : 129 - 140
  • [10] SEPARATE AND INTEGRAL COMPILATION OF SUBSYSTEMS
    BOHRINGER, B
    FEUERHAHN, H
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1981, 123 : 50 - 64