/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, 175 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: "cstrncat" linkageType: EXTERNALLY_VISIBLE returnParam: *i8 parameters: (s1 *i8, s2 *i8, n i32) variableLength: false visibilityType: DEFAULT callingConvention: ccc 0: %1 = alloca *i8, align 8 %2 = alloca *i8, align 8 %3 = alloca i32, align 4 %s = alloca *i8, align 8 store %s1, %1 store %s2, %2 store %n, %3 %4 = load %1 store %4, %s br %5 5: %6 = load %s %7 = load %6 %8 = sext i8 %7 to i32 %9 = icmp ne %8 0 br %9, %10, %13 10: %11 = load %s %12 = getelementptr %11, 1 store %12, %s br %5 13: br %14 14: %15 = load %3 %16 = icmp ne %15 0 br %16, %17, %24 17: %18 = load %2 %19 = getelementptr %18, 1 store %19, %2 %20 = load %18 %21 = load %s store %20, %21 %22 = sext i8 %20 to i32 %23 = icmp ne %22 0 br %24 24: %25 = phi [0, %14], [%23, %17] br %25, %26, %31 26: %27 = load %3 %28 = add %27 -1 store %28, %3 %29 = load %s %30 = getelementptr %29, 1 store %30, %s br %14 31: %32 = load %s %33 = load %32 %34 = sext i8 %33 to i32 %35 = icmp ne %34 0 br %35, %36, %38 36: %37 = load %s store 0, %37 br %38 38: %39 = load %1 ret %39 *BasicFunctionTypename: "main" linkageType: EXTERNALLY_VISIBLE returnParam: i32 parameters: () variableLength: false visibilityType: DEFAULT callingConvention: ccc 0: %1 = alloca i32, align 4 %s1 = alloca *i8, align 8 %s2 = alloca *i8, align 8 %n = alloca i32, align 4 store 0, %1 %2 = call i32 @__VERIFIER_nondet_int() store %2, %n %3 = load %s1 %4 = load %s2 %5 = load %n %6 = call *i8 @cstrncat(*i8 %3, *i8 %4, i32 %5) ret 0 Analyze Termination of all function calls matching the pattern: main()