A contractual software fault warning method based on program invariants
A software fault and contract-based technology, applied in software testing/debugging, hardware monitoring, etc., can solve problems such as invariants not fully applicable, and achieve the effect of high automation and high fault detection rate
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0043] The present invention will be further described below in conjunction with the accompanying drawings.
[0044] Such as figure 1 As shown, the present invention is a contractual failure early warning method based on program invariants, and the method includes the following steps:
[0045] (1) Use the Daikon tool to generate program invariants for programs that require warnings, input the source programs that require warnings and the test case sets corresponding to the source programs as Daikon tools, and run the source programs on the Daikon tool according to the test case sets to generate invariants , output program invariants; among them, the test case set that needs to be input is provided by the user, and the generated invariants are data contracts, which mainly include three types: entry invariants, exit invariants and class invariants.
[0046] Such as figure 2 Shown is the process diagram of Daikon dynamic invariant discovery, Daikon tool accepts the source prog...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com