/export/starexec/sandbox/solver/bin/starexec_run_c /export/starexec/sandbox/benchmark/theBenchmark.c /export/starexec/sandbox/output/output_files -------------------------------------------------------------------------------- MAYBE proof of /export/starexec/sandbox/benchmark/theBenchmark.c # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty Termination of the given C Problem could not be shown: (0) C Problem (1) CToLLVMProof [EQUIVALENT, 174 ms] (2) LLVM problem ---------------------------------------- (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: "__VERIFIER_nondet_int" returnParam: i32 parameters: () variableLength: false visibilityType: DEFAULT callingConvention: ccc *BasicFunctionTypename: "cmemrchr" linkageType: EXTERNALLY_VISIBLE returnParam: *i8 parameters: (s *i8, c i32, n i64) variableLength: false visibilityType: DEFAULT callingConvention: ccc 0: %1 = alloca *i8, align 8 %2 = alloca *i8, align 8 %3 = alloca i32, align 4 %4 = alloca i64, align 8 %cp = alloca *i8, align 8 store %s, %2 store %c, %3 store %n, %4 %5 = load %4 %6 = icmp ne %5 0 br %6, %7, %28 7: %8 = load %2 %9 = load %4 %10 = getelementptr %8, %9 store %10, %cp br %11 11: %12 = load %cp %13 = getelementptr %12, -1 store %13, %cp %14 = load %13 %15 = zext i8 %14 to i32 %16 = load %3 %17 = trunc i32 %16 to i8 %18 = zext i8 %17 to i32 %19 = icmp eq %15 %18 br %19, %20, %22 20: %21 = load %cp store %21, %1 br %29 22: br %23 23: %24 = load %4 %25 = add %24 -1 store %25, %4 %26 = icmp ne %25 0 br %26, %11, %27 27: br %28 28: store null, %1 br %29 29: %30 = load %1 ret %30 *BasicFunctionTypename: "main" linkageType: EXTERNALLY_VISIBLE returnParam: i32 parameters: () variableLength: false visibilityType: DEFAULT callingConvention: ccc 0: %1 = alloca i32, align 4 %length = alloca i32, align 4 %n = alloca i32, align 4 %c = alloca i32, align 4 %nondetArea = alloca *i8, align 8 store 0, %1 %2 = call i32 @__VERIFIER_nondet_int() store %2, %length %3 = call i32 @__VERIFIER_nondet_int() store %3, %n %4 = call i32 @__VERIFIER_nondet_int() store %4, %c %5 = load %length %6 = icmp slt %5 1 br %6, %7, %8 7: store 1, %length br %8 8: %9 = load %n %10 = icmp slt %9 1 br %10, %11, %12 11: store 1, %n br %12 12: %13 = load %n %14 = sext i32 %13 to i64 %15 = mul %14 1 %16 = alloca i8, numElementsLit: %15 store %16, %nondetArea %17 = load %nondetArea %18 = load %c %19 = load %n %20 = sext i32 %19 to i64 %21 = call *i8 @cmemrchr(*i8 %17, i32 %18, i64 %20) ret 0 Analyze Termination of all function calls matching the pattern: main()