/export/starexec/sandbox2/solver/bin/starexec_run_c /export/starexec/sandbox2/benchmark/theBenchmark.c /export/starexec/sandbox2/output/output_files -------------------------------------------------------------------------------- MAYBE proof of /export/starexec/sandbox2/benchmark/theBenchmark.c # AProVE Commit ID: 794c25de1cacf0d048858bcd21c9a779e1221865 marcel 20200619 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/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: "cstrncpy" 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 %dst = alloca *i8, align 8 %src = alloca *i8, align 8 %us = alloca *i8, align 8 %n2 = alloca i32, align 4 store %s1, %1 store %s2, %2 store %n, %3 %4 = load %1 store %4, %dst %5 = load %2 store %5, %src br %6 6: %7 = load %3 %8 = icmp sgt %7 0 br %8, %9, %31 9: %10 = load %3 %11 = add %10 -1 store %11, %3 %12 = load %src %13 = getelementptr %12, 1 store %13, %src %14 = load %12 %15 = load %dst %16 = getelementptr %15, 1 store %16, %dst store %14, %15 %17 = sext i8 %14 to i32 %18 = icmp eq %17 0 br %18, %19, %30 19: %20 = load %dst store %20, %us %21 = load %3 store %21, %n2 br %22 22: %23 = load %n2 %24 = add %23 -1 store %24, %n2 %25 = icmp ne %23 0 br %25, %26, %29 26: %27 = load %us %28 = getelementptr %27, 1 store %28, %us store 0, %27 br %22 29: br %31 30: br %6 31: %32 = load %1 ret %32 *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 @cstrncpy(*i8 %3, *i8 %4, i32 %5) ret 0 Analyze Termination of all function calls matching the pattern: main()