/export/starexec/sandbox2/solver/bin/starexec_run_c /export/starexec/sandbox2/benchmark/theBenchmark.c /export/starexec/sandbox2/output/output_files -------------------------------------------------------------------------------- NO proof of /export/starexec/sandbox2/benchmark/theBenchmark.c # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty Termination of the given C Problem could be disproven: (0) C Problem (1) CToLLVMProof [EQUIVALENT, 80 ms] (2) LLVM problem (3) LLVMToTerminationGraphProof [EQUIVALENT, 1585 ms] (4) LLVM Symbolic Execution Graph (5) LLVMNonterminationProof [COMPLETE, 134 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 store 0, %1 %2 = call i32 @__VERIFIER_nondet_int() store %2, %i br %3 3: %4 = load %i %5 = icmp ne %4 0 br %5, %6, %28 6: %7 = load %i %8 = icmp slt %7 0 br %8, %9, %18 9: %10 = load %i %11 = add %10 2 store %11, %i %12 = load %i %13 = icmp slt %12 0 br %13, %14, %17 14: %15 = load %i %16 = mul %15 -1 store %16, %i br %17 17: br %27 18: %19 = load %i %20 = sub %19 2 store %20, %i %21 = load %i %22 = icmp sgt %21 0 br %22, %23, %26 23: %24 = load %i %25 = mul %24 -1 store %25, %i br %26 26: br %27 27: br %3 28: 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 #111 with references set to {}. Nondeterministic instruction %1 = alloca i32, align 4 in node #111 yields value 9. Nondeterministic instruction %i = alloca i32, align 4 in node #112 yields value 1. Nondeterministic instruction %2 = call i32 @__VERIFIER_nondet_int() in node #114 yields value (-5). ---------------------------------------- (6) NO