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