NO proof of /export/starexec/sandbox/benchmark/theBenchmark.c # AProVE Commit ID: 794c25de1cacf0d048858bcd21c9a779e1221865 marcel 20200619 unpublished dirty Termination of the given C Problem could be disproven: (0) C Problem (1) CToLLVMProof [EQUIVALENT, 170 ms] (2) LLVM problem (3) LLVMToTerminationGraphProof [EQUIVALENT, 473 ms] (4) LLVM Symbolic Execution Graph (5) LLVMNonterminationProof [COMPLETE, 121 ms] (6) NO ---------------------------------------- (0) Obligation: c file /export/starexec/sandbox/benchmark/theBenchmark.c ---------------------------------------- (1) CToLLVMProof (EQUIVALENT) Compiled c-file /export/starexec/sandbox/benchmark/theBenchmark.c to LLVM. ---------------------------------------- (2) Obligation: LLVM Problem Aliases: Data layout: "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" Machine: "x86_64-pc-linux-gnu" Type definitions: Global variables: Function declarations and definitions: *BasicFunctionTypename: "main" linkageType: EXTERNALLY_VISIBLE returnParam: i32 parameters: () variableLength: false visibilityType: DEFAULT callingConvention: ccc 0: %1 = alloca i32, align 4 %x = alloca i32, align 4 store 0, %1 br %2 2: %3 = load %x %4 = icmp ne %3 0 br %4, %5, %26 5: %6 = load %x %7 = icmp sle -5 %6 br %7, %8, %24 8: %9 = load %x %10 = icmp sle %9 35 br %10, %11, %24 11: %12 = load %x %13 = icmp slt %12 0 br %13, %14, %15 14: store -5, %x br %23 15: %16 = load %x %17 = icmp sgt %16 30 br %17, %18, %19 18: store 35, %x br %22 19: %20 = load %x %21 = sub %20 1 store %21, %x br %22 22: br %23 23: br %25 24: store 0, %x br %25 25: br %2 26: ret 0 Analyze Termination of all function calls matching the pattern: main() ---------------------------------------- (3) LLVMToTerminationGraphProof (EQUIVALENT) Constructed symbolic execution graph for LLVM program and proved memory safety. ---------------------------------------- (4) Obligation: SE Graph ---------------------------------------- (5) LLVMNonterminationProof (COMPLETE) Proved nontermination with the following witness: State #101 with references set to {}. Nondeterministic instruction %1 = alloca i32, align 4 in node #101 yields value 125. Nondeterministic instruction %x = alloca i32, align 4 in node #102 yields value 29. ---------------------------------------- (6) NO