8.25/2.88 NO 8.25/2.89 proof of /export/starexec/sandbox/benchmark/theBenchmark.c 8.25/2.89 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 8.25/2.89 8.25/2.89 8.25/2.89 Termination of the given C Problem could be disproven: 8.25/2.89 8.25/2.89 (0) C Problem 8.25/2.89 (1) CToLLVMProof [EQUIVALENT, 164 ms] 8.25/2.89 (2) LLVM problem 8.25/2.89 (3) LLVMToTerminationGraphProof [EQUIVALENT, 430 ms] 8.25/2.89 (4) LLVM Symbolic Execution Graph 8.25/2.89 (5) LLVMNonterminationProof [COMPLETE, 33 ms] 8.25/2.89 (6) NO 8.25/2.89 8.25/2.89 8.25/2.89 ---------------------------------------- 8.25/2.89 8.25/2.89 (0) 8.25/2.89 Obligation: 8.25/2.89 c file /export/starexec/sandbox/benchmark/theBenchmark.c 8.25/2.89 ---------------------------------------- 8.25/2.89 8.25/2.89 (1) CToLLVMProof (EQUIVALENT) 8.25/2.89 Compiled c-file /export/starexec/sandbox/benchmark/theBenchmark.c to LLVM. 8.25/2.89 ---------------------------------------- 8.25/2.89 8.25/2.89 (2) 8.25/2.89 Obligation: 8.25/2.89 LLVM Problem 8.25/2.89 8.25/2.89 Aliases: 8.25/2.89 8.25/2.89 Data layout: 8.25/2.89 8.25/2.89 "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" 8.25/2.89 8.25/2.89 Machine: 8.25/2.89 8.25/2.89 "x86_64-pc-linux-gnu" 8.25/2.89 8.25/2.89 Type definitions: 8.25/2.89 8.25/2.89 Global variables: 8.25/2.89 8.25/2.89 Function declarations and definitions: 8.25/2.89 8.25/2.89 *BasicFunctionTypename: "__VERIFIER_nondet_int" returnParam: i32 parameters: () variableLength: false visibilityType: DEFAULT callingConvention: ccc 8.25/2.89 *BasicFunctionTypename: "main" linkageType: EXTERNALLY_VISIBLE returnParam: i32 parameters: () variableLength: false visibilityType: DEFAULT callingConvention: ccc 8.25/2.89 0: 8.25/2.89 %1 = alloca i32, align 4 8.25/2.89 %c = alloca i32, align 4 8.25/2.89 %x = alloca i32, align 4 8.25/2.89 store 0, %1 8.25/2.89 store 5, %c 8.25/2.89 %2 = call i32 @__VERIFIER_nondet_int() 8.25/2.89 store %2, %x 8.25/2.89 br %3 8.25/2.89 3: 8.25/2.89 %4 = load %x 8.25/2.89 %5 = icmp sge %4 0 8.25/2.89 br %5, %6, %10 8.25/2.89 6: 8.25/2.89 %7 = load %x 8.25/2.89 %8 = load %c 8.25/2.89 %9 = add %7 %8 8.25/2.89 store %9, %x 8.25/2.89 br %3 8.25/2.89 10: 8.25/2.89 ret 0 8.25/2.89 8.25/2.89 8.25/2.89 Analyze Termination of all function calls matching the pattern: 8.25/2.89 main() 8.25/2.89 ---------------------------------------- 8.25/2.89 8.25/2.89 (3) LLVMToTerminationGraphProof (EQUIVALENT) 8.25/2.89 Constructed symbolic execution graph for LLVM program and proved memory safety. 8.25/2.89 ---------------------------------------- 8.25/2.89 8.25/2.89 (4) 8.25/2.89 Obligation: 8.25/2.89 SE Graph 8.25/2.89 ---------------------------------------- 8.25/2.89 8.25/2.89 (5) LLVMNonterminationProof (COMPLETE) 8.25/2.90 Proved nontermination with the following witness: 8.25/2.90 8.25/2.90 State #54 with references set to {}. 8.25/2.90 Nondeterministic instruction %1 = alloca i32, align 4 in node #54 yields value 15. 8.25/2.90 Nondeterministic instruction %c = alloca i32, align 4 in node #55 yields value 5. 8.25/2.90 Nondeterministic instruction %x = alloca i32, align 4 in node #56 yields value 1. 8.25/2.90 Nondeterministic instruction %2 = call i32 @__VERIFIER_nondet_int() in node #59 yields value 0. 8.25/2.90 8.25/2.90 ---------------------------------------- 8.25/2.90 8.25/2.90 (6) 8.25/2.90 NO 8.53/2.97 EOF