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