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