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