/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, 173 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: struct.TNode --> BasicStructureType(elementType: *struct.TNode, elementType: *struct.TNode, elementType: *struct.TData, elementType: BasicTypeName typeName: struct.TDataBasicStructureType(elementType: i8)) struct.TData --> BasicStructureType(elementType: i8) Global variables: Function declarations and definitions: *BasicFunctionTypename: "malloc" returnParam: *i8 noalias parameters: (i64) variableLength: false visibilityType: DEFAULT callingConvention: ccc *BasicFunctionTypename: "__VERIFIER_nondet_int" returnParam: i32 parameters: () variableLength: true visibilityType: DEFAULT callingConvention: ccc *BasicFunctionTypename: "free" returnParam: BasicVoidType parameters: (*i8) 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 %list = alloca *BasicTypeName typeName: struct.TNodeBasicStructureType(elementType: *struct.TNode, elementType: *struct.TNode, elementType: *struct.TData, elementType: BasicTypeName typeName: struct.TDataBasicStructureType(elementType: i8)), align 8 %y = alloca *BasicTypeName typeName: struct.TNodeBasicStructureType(elementType: *struct.TNode, elementType: *struct.TNode, elementType: *struct.TData, elementType: BasicTypeName typeName: struct.TDataBasicStructureType(elementType: i8)), align 8 store 0, %1 store null, %list store null, %y %2 = call noalias *i8 @malloc(i64 32) nounwind %3 = bitcast *i8 %2 to *BasicTypeName typeName: struct.TNodeBasicStructureType(elementType: *struct.TNode, elementType: *struct.TNode, elementType: *struct.TData, elementType: BasicTypeName typeName: struct.TDataBasicStructureType(elementType: i8)) store %3, %y %4 = load %y %5 = getelementptr %4, 0, 0 store null, %5 %6 = load %y %7 = getelementptr %6, 0, 1 store null, %7 %8 = load %y %9 = getelementptr %8, 0, 3 %10 = load %y %11 = getelementptr %10, 0, 2 store %9, %11 %12 = load %y store %12, %list br %13 13: %14 = call i32 (...)* @__VERIFIER_nondet_int() %15 = icmp ne %14 0 br %15, %16, %39 16: %17 = call noalias *i8 @malloc(i64 32) nounwind %18 = bitcast *i8 %17 to *BasicTypeName typeName: struct.TNodeBasicStructureType(elementType: *struct.TNode, elementType: *struct.TNode, elementType: *struct.TData, elementType: BasicTypeName typeName: struct.TDataBasicStructureType(elementType: i8)) store %18, %y %19 = load %list %20 = load %y %21 = getelementptr %20, 0, 0 store %19, %21 %22 = load %y %23 = load %list %24 = getelementptr %23, 0, 1 store %22, %24 %25 = call i32 (...)* @__VERIFIER_nondet_int() %26 = icmp ne %25 0 br %26, %27, %32 27: %28 = call noalias *i8 @malloc(i64 1) nounwind %29 = bitcast *i8 %28 to *BasicTypeName typeName: struct.TDataBasicStructureType(elementType: i8) %30 = load %y %31 = getelementptr %30, 0, 2 store %29, %31 br %37 32: %33 = load %y %34 = getelementptr %33, 0, 3 %35 = load %y %36 = getelementptr %35, 0, 2 store %34, %36 br %37 37: %38 = load %y store %38, %list br %13 39: br %40 40: %41 = load %list %42 = icmp ne null %41 br %42, %43, %62 43: %44 = load %list store %44, %y %45 = load %list %46 = getelementptr %45, 0, 0 %47 = load %46 store %47, %list %48 = load %y %49 = getelementptr %48, 0, 3 %50 = load %y %51 = getelementptr %50, 0, 2 %52 = load %51 %53 = icmp ne %49 %52 br %53, %54, %59 54: %55 = load %y %56 = getelementptr %55, 0, 2 %57 = load %56 %58 = bitcast *BasicTypeName typeName: struct.TDataBasicStructureType(elementType: i8) %57 to *i8 Unnamed Call-Instruction = call BasicVoidType @free(*i8 %58) nounwind br %59 59: %60 = load %y %61 = bitcast *BasicTypeName typeName: struct.TNodeBasicStructureType(elementType: *struct.TNode, elementType: *struct.TNode, elementType: *struct.TData, elementType: BasicTypeName typeName: struct.TDataBasicStructureType(elementType: i8)) %60 to *i8 Unnamed Call-Instruction = call BasicVoidType @free(*i8 %61) nounwind br %40 62: ret 0 Analyze Termination of all function calls matching the pattern: main()