The invention discloses a
runtime error analytical method based on
abstract interpretation and model
verification. The method includes the following steps that on the basis of the
abstract interpretation theory, the program numerical variable value range is analyzed by the adoption of a forward iteration method, the variable value range information is obtained when program points are stable, and the iterative computations of loop nodes are achieved by the way that
loop unrolling and
delay widening are combined; the variable value range information at the relevant program points needing to be detected is converted to be in an assertion or
hypothesis mode to be plugged into a program according to a
runtime error type to be analyzed; the assertion or
hypothesis programs are converted into a Boolean formula, wherein the Boolean formula comprises limiting conditions and attributes; the
correctness of the attributes in the Boolean formula is judged through an SAT verifier, if correct, it shows that relevant runtime errors do not exist, if not correct, it shows that the relevant runtime errors exist, and relevant counter example paths are output. By means of the method, an
equilibrium point is acquired between
runtime error analysis precision and efficiency.