7.87/2.80 NO 7.87/2.82 proof of /export/starexec/sandbox/benchmark/theBenchmark.c 7.87/2.82 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 7.87/2.82 7.87/2.82 7.87/2.82 Termination of the given C Problem could be disproven: 7.87/2.82 7.87/2.82 (0) C Problem 7.87/2.82 (1) CToLLVMProof [EQUIVALENT, 155 ms] 7.87/2.82 (2) LLVM problem 7.87/2.82 (3) LLVMToTerminationGraphProof [EQUIVALENT, 594 ms] 7.87/2.82 (4) LLVM Symbolic Execution Graph 7.87/2.82 (5) LLVMNonterminationProof [COMPLETE, 87 ms] 7.87/2.82 (6) NO 7.87/2.82 7.87/2.82 7.87/2.82 ---------------------------------------- 7.87/2.82 7.87/2.82 (0) 7.87/2.82 Obligation: 7.87/2.82 c file /export/starexec/sandbox/benchmark/theBenchmark.c 7.87/2.82 ---------------------------------------- 7.87/2.82 7.87/2.82 (1) CToLLVMProof (EQUIVALENT) 7.87/2.82 Compiled c-file /export/starexec/sandbox/benchmark/theBenchmark.c to LLVM. 7.87/2.82 ---------------------------------------- 7.87/2.82 7.87/2.82 (2) 7.87/2.82 Obligation: 7.87/2.82 LLVM Problem 7.87/2.82 7.87/2.82 Aliases: 7.87/2.82 7.87/2.82 Data layout: 7.87/2.82 7.87/2.82 "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128" 7.87/2.82 7.87/2.82 Machine: 7.87/2.82 7.87/2.82 "x86_64-pc-linux-gnu" 7.87/2.82 7.87/2.82 Type definitions: 7.87/2.82 7.87/2.82 Global variables: 7.87/2.82 7.87/2.82 Function declarations and definitions: 7.87/2.82 7.87/2.82 *BasicFunctionTypename: "__VERIFIER_nondet_int" returnParam: i32 parameters: () variableLength: false visibilityType: DEFAULT callingConvention: ccc 7.87/2.82 *BasicFunctionTypename: "main" linkageType: EXTERNALLY_VISIBLE returnParam: i32 parameters: () variableLength: false visibilityType: DEFAULT callingConvention: ccc 7.87/2.82 0: 7.87/2.82 %1 = alloca i32, align 4 7.87/2.82 %i = alloca i32, align 4 7.87/2.82 store 0, %1 7.87/2.82 %2 = call i32 @__VERIFIER_nondet_int() 7.87/2.82 store %2, %i 7.87/2.82 br %3 7.87/2.82 3: 7.87/2.82 %4 = load %i 7.87/2.82 %5 = icmp ne %4 0 7.87/2.82 br %5, %6, %21 7.87/2.82 6: 7.87/2.82 %7 = load %i 7.87/2.82 %8 = icmp sgt %7 5 7.87/2.82 br %8, %9, %12 7.87/2.82 9: 7.87/2.82 %10 = load %i 7.87/2.82 %11 = add %10 1 7.87/2.82 store %11, %i 7.87/2.82 br %20 7.87/2.82 12: 7.87/2.82 %13 = load %i 7.87/2.82 %14 = icmp slt %13 -5 7.87/2.82 br %14, %15, %18 7.87/2.82 15: 7.87/2.82 %16 = load %i 7.87/2.82 %17 = sub %16 1 7.87/2.82 store %17, %i 7.87/2.82 br %19 7.87/2.82 18: 7.87/2.82 store 0, %i 7.87/2.82 br %19 7.87/2.82 19: 7.87/2.82 br %20 7.87/2.82 20: 7.87/2.82 br %3 7.87/2.82 21: 7.87/2.82 ret 0 7.87/2.82 7.87/2.82 7.87/2.82 Analyze Termination of all function calls matching the pattern: 7.87/2.82 main() 7.87/2.82 ---------------------------------------- 7.87/2.82 7.87/2.82 (3) LLVMToTerminationGraphProof (EQUIVALENT) 7.87/2.82 Constructed symbolic execution graph for LLVM program and proved memory safety. 7.87/2.82 ---------------------------------------- 7.87/2.82 7.87/2.82 (4) 7.87/2.82 Obligation: 7.87/2.82 SE Graph 7.87/2.82 ---------------------------------------- 7.87/2.82 7.87/2.82 (5) LLVMNonterminationProof (COMPLETE) 7.87/2.82 Proved nontermination with the following witness: 7.87/2.82 7.87/2.82 State #87 with references set to {}. 7.87/2.82 Nondeterministic instruction %1 = alloca i32, align 4 in node #87 yields value 13. 7.87/2.82 Nondeterministic instruction %i = alloca i32, align 4 in node #88 yields value 1. 7.87/2.82 Nondeterministic instruction %2 = call i32 @__VERIFIER_nondet_int() in node #90 yields value (-15). 7.87/2.82 7.87/2.82 ---------------------------------------- 7.87/2.82 7.87/2.82 (6) 7.87/2.82 NO 8.14/2.87 EOF