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