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