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