/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, 178 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: "cmemchr" 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 %p = alloca *i8, align 8 store %s, %2 store %c, %3 store %n, %4 %5 = load %4 %6 = icmp ne %5 0 br %6, %7, %27 7: %8 = load %2 store %8, %p br %9 9: %10 = load %p %11 = getelementptr %10, 1 store %11, %p %12 = load %10 %13 = zext i8 %12 to i32 %14 = load %3 %15 = trunc i32 %14 to i8 %16 = zext i8 %15 to i32 %17 = icmp eq %13 %16 br %17, %18, %21 18: %19 = load %p %20 = getelementptr %19, -1 store %20, %1 br %28 21: br %22 22: %23 = load %4 %24 = add %23 -1 store %24, %4 %25 = icmp ne %24 0 br %25, %9, %26 26: br %27 27: store null, %1 br %28 28: %29 = load %1 ret %29 *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 @cmemchr(*i8 %17, i32 %18, i64 %20) ret 0 Analyze Termination of all function calls matching the pattern: main()