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