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