Download Bound-T Reference Manual - Bound
Transcript
Error Message Cannot integrate dynamic call to S. Calling by reference. Meaning and Remedy Problem While resolving a dynamic call or obeying an assertion that lists the possible callees of a dynamic call, Bound-T found that one possible callee is the subprogram S which, however, is defined as a subprogram to be “integrated” with its callees and not analysed on its own. Integrated analysis is not possible for a dynamic call so this call of S will be analysed as a normal, nonintegrated or “reference” call. Subprograms marked for integrated analysis usually violate normal calling conventions which means that the analysis of S through this call is likely to fail. Reasons A mistake in the assertion files (perhaps S should not be integrated, or should not be listed as a possible callee) or an error in Bound-T's analysis of the possible callees. Solution Correct the assertions, or if Bound-T's analysis is in error, work around it by asserting the true list of callees for this call. Computation model did not Problem converge in n iterations and may be unsafe Conflict : locus Conflicting assertions on call executions After n iterations of various analyses and consequent updates of the arithmetic computation model of this subprogram, the model is still not stable; more iterations might be needed. Reasons The subprogram probably contains many dynamic data references (pointers and pointers to pointers, or indexed array references) that are simple enough for Bound-T to resolve, but nested in such a way that successive analyses are required to resolve them all. Solution Try to increase the iteration limit using the commandline option -model_iter number. Problem The assertion at the given locus in some assertion file conflicts with other assertions on the same fact, in the same context. Solution See the explanation of the preceding error message that starts with “Conflicting assertions ...”. Problem There are several assertions on the number of executions (repetitions) of this call, and some of these assertions conflict by placing contradictory bounds on the number. This error message is followed by two or more error messages of the form “Conflict : locus” that list the conflicting assertions. Conflicting assertions on loop repetitions Reasons Perhaps the contexts of some assertions are too loosely described and unintentionally match this call. Solution Correct the assertions. Problem There are several assertions on the number of repetitions of this loop, and some of these assertions conflict by placing contradictory bounds on the number. This error message is followed by two or more error messages of the form “Conflict : locus” that list the conflicting assertions. 108 Error messages Reasons Perhaps the contexts of some assertions are too loosely described and unintentionally match this call. Solution Correct the assertions. Bound-T Reference Manual