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