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