NO proof of /export/starexec/sandbox2/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, 164 ms] (2) LLVM problem (3) LLVMToTerminationGraphProof [EQUIVALENT, 941 ms] (4) LLVM Symbolic Execution Graph (5) LLVMNonterminationProof [COMPLETE, 759 ms] (6) NO ---------------------------------------- (0) Obligation: c file /export/starexec/sandbox2/benchmark/theBenchmark.c ---------------------------------------- (1) CToLLVMProof (EQUIVALENT) Compiled c-file /export/starexec/sandbox2/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: "__VERIFIER_nondet_int" returnParam: i32 parameters: () variableLength: false visibilityType: DEFAULT callingConvention: ccc *BasicFunctionTypename: "main" linkageType: EXTERNALLY_VISIBLE returnParam: i32 parameters: () variableLength: false visibilityType: DEFAULT callingConvention: ccc 0: %1 = alloca i32, align 4 %i = alloca i32, align 4 %j = alloca i32, align 4 %t = alloca i32, align 4 store 0, %1 %2 = call i32 @__VERIFIER_nondet_int() store %2, %i %3 = call i32 @__VERIFIER_nondet_int() store %3, %j store 0, %t br %4 4: %5 = load %i %6 = icmp sgt %5 0 br %6, %7, %10 7: %8 = load %j %9 = icmp sgt %8 0 br %10 10: %11 = phi [0, %4], [%9, %7] br %11, %12, %31 12: %13 = load %i %14 = load %j %15 = icmp slt %13 %14 br %15, %16, %20 16: %17 = load %i store %17, %t %18 = load %j store %18, %i %19 = load %t store %19, %j br %30 20: %21 = load %i %22 = load %j %23 = icmp sgt %21 %22 br %23, %24, %26 24: %25 = load %i store %25, %j br %29 26: %27 = load %i %28 = sub %27 1 store %28, %i br %29 29: br %30 30: br %4 31: 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 #135 with references set to {}. Nondeterministic instruction %1 = alloca i32, align 4 in node #135 yields value 14. Nondeterministic instruction %i = alloca i32, align 4 in node #136 yields value 10. Nondeterministic instruction %j = alloca i32, align 4 in node #137 yields value 1. Nondeterministic instruction %t = alloca i32, align 4 in node #138 yields value 5. Nondeterministic instruction %2 = call i32 @__VERIFIER_nondet_int() in node #140 yields value 9. Nondeterministic instruction %3 = call i32 @__VERIFIER_nondet_int() in node #142 yields value 4. ---------------------------------------- (6) NO