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