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