---
Fuzzer filename: '/src/libmodbus/fuzz/FuzzClient.c'
All functions:
  Function list name: All functions
  Elements:
    - functionName:    client
      functionSourceFile: '/src/libmodbus/fuzz/FuzzClient.c'
      linkageType:     InternalLinkage
      functionLinenumber: 112
      functionLinenumberEnd: 159
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          100
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - fprintf
        - modbus_close
        - modbus_connect
        - modbus_free
        - modbus_new_tcp
        - modbus_read_bits
        - modbus_read_registers
        - modbus_strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'FuzzClient.c:120,11'
          Dst:             modbus_new_tcp
        - Src:             'FuzzClient.c:123,9'
          Dst:             fprintf
        - Src:             'FuzzClient.c:127,9'
          Dst:             modbus_connect
        - Src:             'FuzzClient.c:128,68'
          Dst:             __errno_location
        - Src:             'FuzzClient.c:128,52'
          Dst:             modbus_strerror
        - Src:             'FuzzClient.c:128,9'
          Dst:             fprintf
        - Src:             'FuzzClient.c:129,9'
          Dst:             modbus_free
        - Src:             'FuzzClient.c:145,10'
          Dst:             modbus_read_bits
        - Src:             'FuzzClient.c:147,10'
          Dst:             modbus_read_registers
        - Src:             'FuzzClient.c:155,5'
          Dst:             modbus_close
        - Src:             'FuzzClient.c:156,5'
          Dst:             modbus_free
    - functionName:    fprintf
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    34
      BranchProfiles:  []
      Callsites:       []
    - functionName:    __errno_location
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    97
      BranchProfiles:  []
      Callsites:       []
    - functionName:    LLVMFuzzerTestOneInput
      functionSourceFile: '/src/libmodbus/fuzz/FuzzClient.c'
      linkageType:     externalLinkage
      functionLinenumber: 91
      functionLinenumberEnd: 110
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          68
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - Server
        - clean
        - client
        - fuzzinit
        - pthread_create
        - pthread_join
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'FuzzClient.c:102,5'
          Dst:             fuzzinit
        - Src:             'FuzzClient.c:104,5'
          Dst:             pthread_create
        - Src:             'FuzzClient.c:104,5'
          Dst:             Server
        - Src:             'FuzzClient.c:105,5'
          Dst:             client
        - Src:             'FuzzClient.c:106,5'
          Dst:             pthread_join
        - Src:             'FuzzClient.c:108,5'
          Dst:             clean
    - functionName:    fuzzinit
      functionSourceFile: '/src/libmodbus/fuzz/FuzzClient.c'
      linkageType:     InternalLinkage
      functionLinenumber: 46
      functionLinenumberEnd: 58
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          44
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - bind
        - htons
        - inet_addr
        - listen
        - setsockopt
        - socket
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'FuzzClient.c:48,22'
          Dst:             socket
        - Src:             'FuzzClient.c:51,28'
          Dst:             htons
        - Src:             'FuzzClient.c:52,35'
          Dst:             inet_addr
        - Src:             'FuzzClient.c:54,5'
          Dst:             setsockopt
        - Src:             'FuzzClient.c:56,5'
          Dst:             bind
        - Src:             'FuzzClient.c:57,5'
          Dst:             listen
    - functionName:    Server
      functionSourceFile: '/src/libmodbus/fuzz/FuzzClient.c'
      linkageType:     InternalLinkage
      functionLinenumber: 62
      functionLinenumberEnd: 80
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          43
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached:
        - accept
        - close
        - pthread_exit
        - recv
        - send
        - shutdown
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'FuzzClient.c:69,18'
          Dst:             accept
        - Src:             'FuzzClient.c:71,9'
          Dst:             send
        - Src:             'FuzzClient.c:72,9'
          Dst:             recv
        - Src:             'FuzzClient.c:74,9'
          Dst:             send
        - Src:             'FuzzClient.c:75,9'
          Dst:             recv
        - Src:             'FuzzClient.c:77,9'
          Dst:             shutdown
        - Src:             'FuzzClient.c:78,9'
          Dst:             close
        - Src:             'FuzzClient.c:80,5'
          Dst:             pthread_exit
    - functionName:    pthread_create
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    pthread_join
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    clean
      functionSourceFile: '/src/libmodbus/fuzz/FuzzClient.c'
      linkageType:     InternalLinkage
      functionLinenumber: 83
      functionLinenumberEnd: 89
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          23
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - close
        - shutdown
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'FuzzClient.c:85,9'
          Dst:             shutdown
        - Src:             'FuzzClient.c:86,9'
          Dst:             close
    - functionName:    shutdown
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    close
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    18
      BranchProfiles:  []
      Callsites:       []
    - functionName:    accept
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    send
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - int
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    recv
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - int
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    pthread_exit
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    socket
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    htons
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      short
      argCount:        1
      argTypes:
        - short
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    inet_addr
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    setsockopt
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - int
        - int
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    bind
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    listen
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    strlcpy
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2122
      functionLinenumberEnd: 2143
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          112
      EdgeCount:       28
      CyclomaticComplexity: 8
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_mapping_free
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2096
      functionLinenumberEnd: 2106
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          42
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_mapping_new
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2089
      functionLinenumberEnd: 2091
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - int
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - modbus_mapping_new_start_address
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:2090,12'
          Dst:             modbus_mapping_new_start_address
    - functionName:    modbus_mapping_new_start_address
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2010
      functionLinenumberEnd: 2083
      functionDepth:   0
      returnType:      'N/A'
      argCount:        8
      argTypes:
        - int
        - int
        - int
        - int
        - int
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          263
      EdgeCount:       35
      CyclomaticComplexity: 11
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_set_debug
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1986
      functionLinenumberEnd: 1994
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          36
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1988,9'
          Dst:             __errno_location
    - functionName:    modbus_free
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1978
      functionLinenumberEnd: 1983
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    8
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_disable_quirks
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1948
      functionLinenumberEnd: 1957
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          39
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1950,9'
          Dst:             __errno_location
    - functionName:    modbus_enable_quirks
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1936
      functionLinenumberEnd: 1945
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1938,9'
          Dst:             __errno_location
    - functionName:    modbus_get_header_length
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1926
      functionLinenumberEnd: 1933
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          35
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1928,9'
          Dst:             __errno_location
    - functionName:    modbus_set_indication_timeout
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1913
      functionLinenumberEnd: 1923
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          55
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1916,9'
          Dst:             __errno_location
    - functionName:    modbus_get_indication_timeout
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1901
      functionLinenumberEnd: 1910
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          48
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1903,9'
          Dst:             __errno_location
    - functionName:    modbus_set_byte_timeout
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1886
      functionLinenumberEnd: 1896
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          55
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1889,9'
          Dst:             __errno_location
    - functionName:    modbus_get_byte_timeout
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1874
      functionLinenumberEnd: 1883
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          48
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1876,9'
          Dst:             __errno_location
    - functionName:    modbus_set_response_timeout
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1861
      functionLinenumberEnd: 1870
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          75
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - __errno_location
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1863,9'
          Dst:             __errno_location
    - functionName:    modbus_get_response_timeout
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1849
      functionLinenumberEnd: 1858
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          48
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1851,9'
          Dst:             __errno_location
    - functionName:    modbus_get_socket
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1838
      functionLinenumberEnd: 1845
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1840,9'
          Dst:             __errno_location
    - functionName:    modbus_set_socket
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1827
      functionLinenumberEnd: 1835
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          36
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1829,9'
          Dst:             __errno_location
    - functionName:    modbus_set_error_recovery
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1814
      functionLinenumberEnd: 1823
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1816,9'
          Dst:             __errno_location
    - functionName:    modbus_get_slave
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1804
      functionLinenumberEnd: 1811
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1806,9'
          Dst:             __errno_location
    - functionName:    modbus_set_slave
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1794
      functionLinenumberEnd: 1801
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          42
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1796,9'
          Dst:             __errno_location
    - functionName:    _modbus_init_common
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1773
      functionLinenumberEnd: 1790
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          45
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_report_slave_id
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1730
      functionLinenumberEnd: 1770
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         23
      ICount:          153
      EdgeCount:       30
      CyclomaticComplexity: 9
      functionsReached:
        - __errno_location
        - _modbus_receive_msg
        - check_confirmation
        - send_msg
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1736,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1746,10'
          Dst:             send_msg
        - Src:             'modbus.c:1752,14'
          Dst:             _modbus_receive_msg
        - Src:             'modbus.c:1756,14'
          Dst:             check_confirmation
    - functionName:    send_msg
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 166
      functionLinenumberEnd: 221
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         37
      ICount:          207
      EdgeCount:       48
      CyclomaticComplexity: 13
      functionsReached:
        - __errno_location
        - _error_print
        - _sleep_response_timeout
        - modbus_close
        - modbus_connect
        - modbus_flush
        - printf
      functionUses:    11
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:174,13'
          Dst:             printf
        - Src:             'modbus.c:175,9'
          Dst:             printf
        - Src:             'modbus.c:183,13'
          Dst:             _error_print
        - Src:             'modbus.c:199,35'
          Dst:             __errno_location
        - Src:             'modbus.c:201,22'
          Dst:             __errno_location
        - Src:             'modbus.c:201,40'
          Dst:             __errno_location
        - Src:             'modbus.c:201,63'
          Dst:             __errno_location
        - Src:             'modbus.c:202,21'
          Dst:             modbus_close
        - Src:             'modbus.c:203,21'
          Dst:             _sleep_response_timeout
        - Src:             'modbus.c:204,21'
          Dst:             modbus_connect
        - Src:             'modbus.c:206,21'
          Dst:             _sleep_response_timeout
        - Src:             'modbus.c:207,21'
          Dst:             modbus_flush
        - Src:             'modbus.c:209,17'
          Dst:             __errno_location
        - Src:             'modbus.c:216,9'
          Dst:             __errno_location
    - functionName:    _modbus_receive_msg
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 359
      functionLinenumberEnd: 534
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         93
      ICount:          596
      EdgeCount:       122
      CyclomaticComplexity: 31
      functionsReached:
        - __errno_location
        - _error_print
        - _sleep_response_timeout
        - compute_data_length_after_meta
        - compute_meta_length_after_function
        - fprintf
        - modbus_close
        - modbus_connect
        - modbus_flush
        - printf
      functionUses:    10
      BranchProfiles:
        - Branch String:   'modbus.c:494,13'
          Branch Sides:    []
      Callsites:
        - Src:             'modbus.c:373,13'
          Dst:             printf
        - Src:             'modbus.c:375,13'
          Dst:             printf
        - Src:             'modbus.c:381,13'
          Dst:             fprintf
        - Src:             'modbus.c:390,13'
          Dst:             fprintf
        - Src:             'modbus.c:392,9'
          Dst:             __errno_location
        - Src:             'modbus.c:424,13'
          Dst:             _error_print
        - Src:             'modbus.c:435,35'
          Dst:             __errno_location
        - Src:             'modbus.c:437,21'
          Dst:             __errno_location
        - Src:             'modbus.c:438,21'
          Dst:             _sleep_response_timeout
        - Src:             'modbus.c:439,21'
          Dst:             modbus_flush
        - Src:             'modbus.c:440,28'
          Dst:             __errno_location
        - Src:             'modbus.c:441,21'
          Dst:             modbus_close
        - Src:             'modbus.c:442,21'
          Dst:             modbus_connect
        - Src:             'modbus.c:444,17'
          Dst:             __errno_location
        - Src:             'modbus.c:452,13'
          Dst:             __errno_location
        - Src:             'modbus.c:457,13'
          Dst:             _error_print
        - Src:             'modbus.c:470,18'
          Dst:             __errno_location
        - Src:             'modbus.c:470,41'
          Dst:             __errno_location
        - Src:             'modbus.c:470,66'
          Dst:             __errno_location
        - Src:             'modbus.c:471,35'
          Dst:             __errno_location
        - Src:             'modbus.c:472,17'
          Dst:             modbus_close
        - Src:             'modbus.c:473,17'
          Dst:             modbus_connect
        - Src:             'modbus.c:475,17'
          Dst:             __errno_location
        - Src:             'modbus.c:485,17'
          Dst:             printf
        - Src:             'modbus.c:497,34'
          Dst:             compute_meta_length_after_function
        - Src:             'modbus.c:504,34'
          Dst:             compute_data_length_after_meta
        - Src:             'modbus.c:506,21'
          Dst:             __errno_location
        - Src:             'modbus.c:507,21'
          Dst:             _error_print
        - Src:             'modbus.c:531,9'
          Dst:             printf
    - functionName:    check_confirmation
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 566
      functionLinenumberEnd: 722
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         93
      ICount:          684
      EdgeCount:       118
      CyclomaticComplexity: 27
      functionsReached:
        - __errno_location
        - _error_print
        - _sleep_response_timeout
        - compute_response_length_from_request
        - fprintf
        - modbus_flush
      functionUses:    8
      BranchProfiles:
        - Branch String:   'modbus.c:633,9'
          Branch Sides:    []
      Callsites:
        - Src:             'modbus.c:576,17'
          Dst:             _sleep_response_timeout
        - Src:             'modbus.c:577,17'
          Dst:             modbus_flush
        - Src:             'modbus.c:583,27'
          Dst:             compute_response_length_from_request
        - Src:             'modbus.c:593,17'
          Dst:             __errno_location
        - Src:             'modbus.c:595,17'
          Dst:             __errno_location
        - Src:             'modbus.c:597,13'
          Dst:             _error_print
        - Src:             'modbus.c:600,13'
          Dst:             __errno_location
        - Src:             'modbus.c:601,13'
          Dst:             _error_print
        - Src:             'modbus.c:618,17'
          Dst:             fprintf
        - Src:             'modbus.c:625,17'
          Dst:             _sleep_response_timeout
        - Src:             'modbus.c:626,17'
          Dst:             modbus_flush
        - Src:             'modbus.c:628,13'
          Dst:             __errno_location
        - Src:             'modbus.c:691,17'
          Dst:             fprintf
        - Src:             'modbus.c:698,17'
          Dst:             _sleep_response_timeout
        - Src:             'modbus.c:699,17'
          Dst:             modbus_flush
        - Src:             'modbus.c:702,13'
          Dst:             __errno_location
        - Src:             'modbus.c:707,13'
          Dst:             fprintf
        - Src:             'modbus.c:714,13'
          Dst:             _sleep_response_timeout
        - Src:             'modbus.c:715,13'
          Dst:             modbus_flush
        - Src:             'modbus.c:717,9'
          Dst:             __errno_location
    - functionName:    _sleep_response_timeout
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 95
      functionLinenumberEnd: 109
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          55
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - nanosleep
      functionUses:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:105,12'
          Dst:             nanosleep
        - Src:             'modbus.c:105,53'
          Dst:             __errno_location
    - functionName:    modbus_flush
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 112
      functionLinenumberEnd: 126
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          63
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - __errno_location
        - printf
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:116,9'
          Dst:             __errno_location
        - Src:             'modbus.c:123,9'
          Dst:             printf
    - functionName:    compute_response_length_from_request
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 130
      functionLinenumberEnd: 162
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          128
      EdgeCount:       26
      CyclomaticComplexity: 14
      functionsReached: []
      functionUses:    4
      BranchProfiles:
        - Branch String:   'modbus.c:134,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    _error_print
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 83
      functionLinenumberEnd: 92
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          47
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - fprintf
        - modbus_strerror
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:85,53'
          Dst:             __errno_location
        - Src:             'modbus.c:85,37'
          Dst:             modbus_strerror
        - Src:             'modbus.c:85,9'
          Dst:             fprintf
        - Src:             'modbus.c:87,13'
          Dst:             fprintf
        - Src:             'modbus.c:89,13'
          Dst:             fprintf
    - functionName:    modbus_strerror
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 45
      functionLinenumberEnd: 80
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         20
      ICount:          101
      EdgeCount:       39
      CyclomaticComplexity: 21
      functionsReached:
        - strerror
      functionUses:    2
      BranchProfiles:
        - Branch String:   'modbus.c:46,5'
          Branch Sides:    []
      Callsites:
        - Src:             'modbus.c:78,16'
          Dst:             strerror
    - functionName:    strerror
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    printf
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    11
      BranchProfiles:  []
      Callsites:       []
    - functionName:    nanosleep
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_close
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1970
      functionLinenumberEnd: 1975
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          33
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_connect
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1960
      functionLinenumberEnd: 1967
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          39
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1962,9'
          Dst:             __errno_location
    - functionName:    compute_meta_length_after_function
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 274
      functionLinenumberEnd: 308
      functionDepth:   0
      returnType:      char
      argCount:        2
      argTypes:
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         27
      ICount:          102
      EdgeCount:       31
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'modbus.c:293,9'
          Branch Sides:    []
      Callsites:       []
    - functionName:    compute_data_length_after_meta
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 314
      functionLinenumberEnd: 343
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          126
      EdgeCount:       20
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    1
      BranchProfiles:
        - Branch String:   'modbus.c:319,9'
          Branch Sides:    []
      Callsites:       []
    - functionName:    modbus_write_and_read_registers
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1656
      functionLinenumberEnd: 1725
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          292
      EdgeCount:       41
      CyclomaticComplexity: 12
      functionsReached:
        - __errno_location
        - _modbus_receive_msg
        - check_confirmation
        - fprintf
        - send_msg
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1665,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1671,13'
          Dst:             fprintf
        - Src:             'modbus.c:1676,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1682,13'
          Dst:             fprintf
        - Src:             'modbus.c:1687,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1705,10'
          Dst:             send_msg
        - Src:             'modbus.c:1709,14'
          Dst:             _modbus_receive_msg
        - Src:             'modbus.c:1713,14'
          Dst:             check_confirmation
    - functionName:    modbus_mask_write_register
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1612
      functionLinenumberEnd: 1644
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - short
        - short
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          119
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - _modbus_receive_msg
        - check_confirmation
        - send_msg
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1631,10'
          Dst:             send_msg
        - Src:             'modbus.c:1636,14'
          Dst:             _modbus_receive_msg
        - Src:             'modbus.c:1640,14'
          Dst:             check_confirmation
    - functionName:    modbus_write_registers
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1561
      functionLinenumberEnd: 1606
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          188
      EdgeCount:       34
      CyclomaticComplexity: 10
      functionsReached:
        - __errno_location
        - _modbus_receive_msg
        - check_confirmation
        - fprintf
        - send_msg
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1569,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1575,13'
          Dst:             fprintf
        - Src:             'modbus.c:1580,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1594,10'
          Dst:             send_msg
        - Src:             'modbus.c:1598,14'
          Dst:             _modbus_receive_msg
        - Src:             'modbus.c:1602,14'
          Dst:             check_confirmation
    - functionName:    modbus_write_bits
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1498
      functionLinenumberEnd: 1557
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         35
      ICount:          243
      EdgeCount:       46
      CyclomaticComplexity: 13
      functionsReached:
        - __errno_location
        - _modbus_receive_msg
        - check_confirmation
        - fprintf
        - send_msg
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1508,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1514,13'
          Dst:             fprintf
        - Src:             'modbus.c:1519,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1545,10'
          Dst:             send_msg
        - Src:             'modbus.c:1549,14'
          Dst:             _modbus_receive_msg
        - Src:             'modbus.c:1553,14'
          Dst:             check_confirmation
    - functionName:    modbus_write_register
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1487
      functionLinenumberEnd: 1494
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - short
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - write_single
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1489,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1493,12'
          Dst:             write_single
    - functionName:    write_single
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1447
      functionLinenumberEnd: 1472
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - short
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          89
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - __errno_location
        - _modbus_receive_msg
        - check_confirmation
        - send_msg
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1453,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1459,10'
          Dst:             send_msg
        - Src:             'modbus.c:1464,14'
          Dst:             _modbus_receive_msg
        - Src:             'modbus.c:1468,14'
          Dst:             check_confirmation
    - functionName:    modbus_write_bit
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1476
      functionLinenumberEnd: 1483
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          43
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - write_single
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1478,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1482,12'
          Dst:             write_single
    - functionName:    modbus_read_input_registers
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1420
      functionLinenumberEnd: 1442
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          89
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - __errno_location
        - fprintf
        - read_registers
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1424,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1430,13'
          Dst:             fprintf
        - Src:             'modbus.c:1435,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1439,14'
          Dst:             read_registers
    - functionName:    read_registers
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1349
      functionLinenumberEnd: 1390
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          163
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - __errno_location
        - _modbus_receive_msg
        - check_confirmation
        - fprintf
        - send_msg
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1357,13'
          Dst:             fprintf
        - Src:             'modbus.c:1362,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1368,10'
          Dst:             send_msg
        - Src:             'modbus.c:1373,14'
          Dst:             _modbus_receive_msg
        - Src:             'modbus.c:1377,14'
          Dst:             check_confirmation
    - functionName:    modbus_read_registers
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1395
      functionLinenumberEnd: 1416
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          89
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - __errno_location
        - fprintf
        - read_registers
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1399,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1405,13'
          Dst:             fprintf
        - Src:             'modbus.c:1410,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1414,14'
          Dst:             read_registers
    - functionName:    modbus_read_input_bits
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1320
      functionLinenumberEnd: 1345
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          98
      EdgeCount:       25
      CyclomaticComplexity: 8
      functionsReached:
        - __errno_location
        - fprintf
        - read_io_status
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1324,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1330,13'
          Dst:             fprintf
        - Src:             'modbus.c:1335,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1339,10'
          Dst:             read_io_status
    - functionName:    read_io_status
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1247
      functionLinenumberEnd: 1286
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          172
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - _modbus_receive_msg
        - check_confirmation
        - send_msg
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1256,10'
          Dst:             send_msg
        - Src:             'modbus.c:1264,14'
          Dst:             _modbus_receive_msg
        - Src:             'modbus.c:1268,14'
          Dst:             check_confirmation
    - functionName:    modbus_read_bits
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1291
      functionLinenumberEnd: 1316
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         19
      ICount:          98
      EdgeCount:       25
      CyclomaticComplexity: 8
      functionsReached:
        - __errno_location
        - fprintf
        - read_io_status
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1295,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1301,13'
          Dst:             fprintf
        - Src:             'modbus.c:1306,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1310,10'
          Dst:             read_io_status
    - functionName:    modbus_reply_exception
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1213
      functionLinenumberEnd: 1243
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          112
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - send_msg
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1222,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1238,16'
          Dst:             send_msg
        - Src:             'modbus.c:1240,9'
          Dst:             __errno_location
    - functionName:    response_io_status
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 726
      functionLinenumberEnd: 746
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          96
      EdgeCount:       13
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    response_exception
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 757
      functionLinenumberEnd: 780
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          91
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - _sleep_response_timeout
        - modbus_flush
        - vfprintf
      functionUses:    19
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:765,9'
          Dst:             vfprintf
        - Src:             'modbus.c:771,9'
          Dst:             _sleep_response_timeout
        - Src:             'modbus.c:772,9'
          Dst:             modbus_flush
    - functionName:    vfprintf
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_reply
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 793
      functionLinenumberEnd: 1210
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         186
      ICount:          1729
      EdgeCount:       244
      CyclomaticComplexity: 60
      functionsReached:
        - __errno_location
        - compute_response_length_from_request
        - modbus_set_bits_from_bytes
        - response_exception
        - response_io_status
        - send_msg
      functionUses:    0
      BranchProfiles:
        - Branch String:   'modbus.c:826,5'
          Branch Sides:    []
      Callsites:
        - Src:             'modbus.c:803,9'
          Dst:             __errno_location
        - Src:             'modbus.c:840,26'
          Dst:             response_exception
        - Src:             'modbus.c:850,26'
          Dst:             response_exception
        - Src:             'modbus.c:862,17'
          Dst:             response_io_status
        - Src:             'modbus.c:881,26'
          Dst:             response_exception
        - Src:             'modbus.c:891,26'
          Dst:             response_exception
        - Src:             'modbus.c:914,26'
          Dst:             response_exception
        - Src:             'modbus.c:925,22'
          Dst:             compute_response_length_from_request
        - Src:             'modbus.c:928,26'
          Dst:             response_exception
        - Src:             'modbus.c:950,26'
          Dst:             response_exception
        - Src:             'modbus.c:966,17'
          Dst:             response_exception
        - Src:             'modbus.c:976,22'
          Dst:             compute_response_length_from_request
        - Src:             'modbus.c:979,26'
          Dst:             response_exception
        - Src:             'modbus.c:1006,17'
          Dst:             response_exception
        - Src:             'modbus.c:1015,26'
          Dst:             response_exception
        - Src:             'modbus.c:1024,13'
          Dst:             modbus_set_bits_from_bytes
        - Src:             'modbus.c:1039,26'
          Dst:             response_exception
        - Src:             'modbus.c:1051,17'
          Dst:             response_exception
        - Src:             'modbus.c:1089,22'
          Dst:             response_exception
        - Src:             'modbus.c:1101,17'
          Dst:             response_exception
        - Src:             'modbus.c:1116,26'
          Dst:             compute_response_length_from_request
        - Src:             'modbus.c:1119,30'
          Dst:             response_exception
        - Src:             'modbus.c:1144,26'
          Dst:             response_exception
        - Src:             'modbus.c:1160,26'
          Dst:             response_exception
        - Src:             'modbus.c:1192,22'
          Dst:             response_exception
        - Src:             'modbus.c:1209,12'
          Dst:             send_msg
    - functionName:    modbus_receive_confirmation
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 556
      functionLinenumberEnd: 563
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          35
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
        - _modbus_receive_msg
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:558,9'
          Dst:             __errno_location
        - Src:             'modbus.c:562,12'
          Dst:             _modbus_receive_msg
    - functionName:    modbus_receive
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 538
      functionLinenumberEnd: 545
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          42
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:540,9'
          Dst:             __errno_location
    - functionName:    modbus_send_raw_request
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 262
      functionLinenumberEnd: 263
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - modbus_send_raw_request_tid
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:263,12'
          Dst:             modbus_send_raw_request_tid
    - functionName:    modbus_send_raw_request_tid
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 227
      functionLinenumberEnd: 259
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          112
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - __errno_location
        - send_msg
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:233,9'
          Dst:             __errno_location
        - Src:             'modbus.c:241,9'
          Dst:             __errno_location
        - Src:             'modbus.c:258,12'
          Dst:             send_msg
    - functionName:    modbus_set_float
      functionSourceFile: '/src/libmodbus/src/modbus-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 239
      functionLinenumberEnd: 241
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - float
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - modbus_set_float_cdab
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus-data.c:240,5'
          Dst:             modbus_set_float_cdab
    - functionName:    modbus_set_float_cdab
      functionSourceFile: '/src/libmodbus/src/modbus-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 222
      functionLinenumberEnd: 235
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - float
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          61
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_set_float_badc
      functionSourceFile: '/src/libmodbus/src/modbus-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 205
      functionLinenumberEnd: 218
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - float
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          61
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_set_float_dcba
      functionSourceFile: '/src/libmodbus/src/modbus-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 188
      functionLinenumberEnd: 201
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - float
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          61
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_set_float_abcd
      functionSourceFile: '/src/libmodbus/src/modbus-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 169
      functionLinenumberEnd: 184
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - float
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          61
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_get_float
      functionSourceFile: '/src/libmodbus/src/modbus-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 163
      functionLinenumberEnd: 164
      functionDepth:   0
      returnType:      float
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - modbus_get_float_cdab
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus-data.c:164,12'
          Dst:             modbus_get_float_cdab
    - functionName:    modbus_get_float_cdab
      functionSourceFile: '/src/libmodbus/src/modbus-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 143
      functionLinenumberEnd: 158
      functionDepth:   0
      returnType:      float
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          62
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_get_float_badc
      functionSourceFile: '/src/libmodbus/src/modbus-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 123
      functionLinenumberEnd: 138
      functionDepth:   0
      returnType:      float
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          62
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_get_float_dcba
      functionSourceFile: '/src/libmodbus/src/modbus-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 103
      functionLinenumberEnd: 118
      functionDepth:   0
      returnType:      float
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          62
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_get_float_abcd
      functionSourceFile: '/src/libmodbus/src/modbus-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 82
      functionLinenumberEnd: 98
      functionDepth:   0
      returnType:      float
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          62
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_get_byte_from_bits
      functionSourceFile: '/src/libmodbus/src/modbus-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 63
      functionLinenumberEnd: 77
      functionDepth:   0
      returnType:      char
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          77
      EdgeCount:       15
      CyclomaticComplexity: 4
      functionsReached:
        - __assert_fail
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus-data.c:69,9'
          Dst:             __assert_fail
    - functionName:    __assert_fail
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_set_bits_from_bytes
      functionSourceFile: '/src/libmodbus/src/modbus-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 48
      functionLinenumberEnd: 58
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         5
      ICount:          64
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_set_bits_from_byte
      functionSourceFile: '/src/libmodbus/src/modbus-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 34
      functionLinenumberEnd: 40
      functionDepth:   0
      returnType:      void
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - char
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         5
      ICount:          45
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    _connect
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 288
      functionLinenumberEnd: 335
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - int
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          147
      EdgeCount:       29
      CyclomaticComplexity: 9
      functionsReached:
        - __errno_location
        - connect
        - getsockopt
        - select
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus-tcp.c:289,14'
          Dst:             connect
        - Src:             'modbus-tcp.c:299,21'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:309,13'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:313,14'
          Dst:             select
        - Src:             'modbus-tcp.c:321,13'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:326,14'
          Dst:             getsockopt
        - Src:             'modbus-tcp.c:330,13'
          Dst:             __errno_location
    - functionName:    connect
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - int
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    select
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    getsockopt
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - int
        - int
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    _modbus_tcp_set_ipv4_options
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 232
      functionLinenumberEnd: 282
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          48
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - setsockopt
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus-tcp.c:242,10'
          Dst:             setsockopt
        - Src:             'modbus-tcp.c:274,10'
          Dst:             setsockopt
    - functionName:    modbus_new_tcp_pi
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1035
      functionLinenumberEnd: 1089
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         21
      ICount:          154
      EdgeCount:       28
      CyclomaticComplexity: 9
      functionsReached:
        - __errno_location
        - _modbus_init_common
        - modbus_free
        - strdup
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus-tcp.c:1043,5'
          Dst:             _modbus_init_common
        - Src:             'modbus-tcp.c:1052,9'
          Dst:             modbus_free
        - Src:             'modbus-tcp.c:1053,9'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:1061,28'
          Dst:             strdup
        - Src:             'modbus-tcp.c:1064,28'
          Dst:             strdup
        - Src:             'modbus-tcp.c:1068,9'
          Dst:             modbus_free
        - Src:             'modbus-tcp.c:1069,9'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:1074,31'
          Dst:             strdup
        - Src:             'modbus-tcp.c:1077,31'
          Dst:             strdup
        - Src:             'modbus-tcp.c:1081,9'
          Dst:             modbus_free
        - Src:             'modbus-tcp.c:1082,9'
          Dst:             __errno_location
    - functionName:    strdup
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    _modbus_set_slave
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 88
      functionLinenumberEnd: 104
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          74
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - __errno_location
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus-tcp.c:99,9'
          Dst:             __errno_location
    - functionName:    _modbus_tcp_build_request_basis
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 109
      functionLinenumberEnd: 134
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - int
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         4
      ICount:          102
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    _modbus_tcp_build_response_basis
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 139
      functionLinenumberEnd: 157
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          44
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    _modbus_tcp_get_response_tid
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 161
      functionLinenumberEnd: 162
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          16
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    _modbus_tcp_send_msg_pre
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 166
      functionLinenumberEnd: 173
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          25
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    _modbus_tcp_send
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 177
      functionLinenumberEnd: 182
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - send
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus-tcp.c:182,12'
          Dst:             send
    - functionName:    _modbus_tcp_receive
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 186
      functionLinenumberEnd: 187
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - _modbus_receive_msg
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus-tcp.c:187,12'
          Dst:             _modbus_receive_msg
    - functionName:    _modbus_tcp_recv
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 191
      functionLinenumberEnd: 192
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          24
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - recv
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus-tcp.c:192,12'
          Dst:             recv
    - functionName:    _modbus_tcp_check_integrity
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 196
      functionLinenumberEnd: 197
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          11
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    _modbus_tcp_pre_check_confirmation
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 204
      functionLinenumberEnd: 229
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          133
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - __errno_location
        - fprintf
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus-tcp.c:209,13'
          Dst:             fprintf
        - Src:             'modbus-tcp.c:214,9'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:222,13'
          Dst:             fprintf
        - Src:             'modbus-tcp.c:224,9'
          Dst:             __errno_location
    - functionName:    _modbus_tcp_pi_connect
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 415
      functionLinenumberEnd: 505
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         31
      ICount:          228
      EdgeCount:       41
      CyclomaticComplexity: 12
      functionsReached:
        - __errno_location
        - _connect
        - _modbus_tcp_set_ipv4_options
        - close
        - fprintf
        - freeaddrinfo
        - gai_strerror
        - getaddrinfo
        - printf
        - socket
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus-tcp.c:439,10'
          Dst:             getaddrinfo
        - Src:             'modbus-tcp.c:443,68'
          Dst:             gai_strerror
        - Src:             'modbus-tcp.c:443,13'
          Dst:             fprintf
        - Src:             'modbus-tcp.c:448,9'
          Dst:             freeaddrinfo
        - Src:             'modbus-tcp.c:449,9'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:465,13'
          Dst:             socket
        - Src:             'modbus-tcp.c:471,17'
          Dst:             fprintf
        - Src:             'modbus-tcp.c:477,13'
          Dst:             close
        - Src:             'modbus-tcp.c:482,13'
          Dst:             _modbus_tcp_set_ipv4_options
        - Src:             'modbus-tcp.c:485,13'
          Dst:             printf
        - Src:             'modbus-tcp.c:488,14'
          Dst:             _connect
        - Src:             'modbus-tcp.c:490,13'
          Dst:             close
        - Src:             'modbus-tcp.c:498,5'
          Dst:             freeaddrinfo
    - functionName:    _modbus_tcp_is_connected
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 508
      functionLinenumberEnd: 509
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          12
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    _modbus_tcp_close
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 514
      functionLinenumberEnd: 520
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          38
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - close
        - shutdown
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus-tcp.c:516,9'
          Dst:             shutdown
        - Src:             'modbus-tcp.c:517,9'
          Dst:             close
    - functionName:    _modbus_tcp_flush
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 523
      functionLinenumberEnd: 572
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         14
      ICount:          78
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached:
        - __errno_location
        - recv
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus-tcp.c:533,14'
          Dst:             recv
        - Src:             'modbus-tcp.c:564,17'
          Dst:             __errno_location
    - functionName:    _modbus_tcp_select
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 874
      functionLinenumberEnd: 899
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          138
      EdgeCount:       28
      CyclomaticComplexity: 8
      functionsReached:
        - __errno_location
        - fprintf
        - select
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus-tcp.c:876,20'
          Dst:             select
        - Src:             'modbus-tcp.c:877,13'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:879,17'
          Dst:             fprintf
        - Src:             'modbus-tcp.c:884,17'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:894,9'
          Dst:             __errno_location
    - functionName:    _modbus_tcp_pi_free
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 910
      functionLinenumberEnd: 919
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          45
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    getaddrinfo
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    gai_strerror
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    freeaddrinfo
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_new_tcp
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 971
      functionLinenumberEnd: 1032
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          125
      EdgeCount:       20
      CyclomaticComplexity: 7
      functionsReached:
        - __errno_location
        - _modbus_init_common
        - fprintf
        - modbus_free
        - strlcpy
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus-tcp.c:994,5'
          Dst:             _modbus_init_common
        - Src:             'modbus-tcp.c:1003,9'
          Dst:             modbus_free
        - Src:             'modbus-tcp.c:1004,9'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:1011,20'
          Dst:             strlcpy
        - Src:             'modbus-tcp.c:1013,13'
          Dst:             fprintf
        - Src:             'modbus-tcp.c:1014,13'
          Dst:             modbus_free
        - Src:             'modbus-tcp.c:1015,13'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:1020,13'
          Dst:             fprintf
        - Src:             'modbus-tcp.c:1021,13'
          Dst:             modbus_free
        - Src:             'modbus-tcp.c:1022,13'
          Dst:             __errno_location
    - functionName:    _modbus_tcp_connect
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 339
      functionLinenumberEnd: 411
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         23
      ICount:          202
      EdgeCount:       31
      CyclomaticComplexity: 10
      functionsReached:
        - __errno_location
        - _connect
        - _modbus_tcp_set_ipv4_options
        - close
        - fprintf
        - htons
        - inet_pton
        - printf
        - socket
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus-tcp.c:360,14'
          Dst:             socket
        - Src:             'modbus-tcp.c:367,13'
          Dst:             fprintf
        - Src:             'modbus-tcp.c:373,9'
          Dst:             close
        - Src:             'modbus-tcp.c:375,9'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:379,10'
          Dst:             _modbus_tcp_set_ipv4_options
        - Src:             'modbus-tcp.c:381,9'
          Dst:             close
        - Src:             'modbus-tcp.c:387,9'
          Dst:             printf
        - Src:             'modbus-tcp.c:391,21'
          Dst:             htons
        - Src:             'modbus-tcp.c:392,10'
          Dst:             inet_pton
        - Src:             'modbus-tcp.c:395,13'
          Dst:             fprintf
        - Src:             'modbus-tcp.c:397,9'
          Dst:             close
        - Src:             'modbus-tcp.c:403,9'
          Dst:             _connect
        - Src:             'modbus-tcp.c:405,9'
          Dst:             close
    - functionName:    _modbus_tcp_free
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 902
      functionLinenumberEnd: 907
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          32
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    inet_pton
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_tcp_pi_accept
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 825
      functionLinenumberEnd: 870
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         19
      ICount:          121
      EdgeCount:       25
      CyclomaticComplexity: 8
      functionsReached:
        - __errno_location
        - accept4
        - close
        - fprintf
        - inet_ntop
        - printf
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus-tcp.c:830,9'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:837,14'
          Dst:             accept4
        - Src:             'modbus-tcp.c:848,13'
          Dst:             fprintf
        - Src:             'modbus-tcp.c:854,9'
          Dst:             close
        - Src:             'modbus-tcp.c:856,9'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:862,13'
          Dst:             inet_ntop
        - Src:             'modbus-tcp.c:863,13'
          Dst:             fprintf
        - Src:             'modbus-tcp.c:865,13'
          Dst:             printf
    - functionName:    accept4
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - int
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    inet_ntop
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - int
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_tcp_accept
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 777
      functionLinenumberEnd: 822
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         19
      ICount:          121
      EdgeCount:       25
      CyclomaticComplexity: 8
      functionsReached:
        - __errno_location
        - accept4
        - close
        - fprintf
        - inet_ntop
        - printf
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus-tcp.c:782,9'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:789,14'
          Dst:             accept4
        - Src:             'modbus-tcp.c:800,13'
          Dst:             fprintf
        - Src:             'modbus-tcp.c:806,9'
          Dst:             close
        - Src:             'modbus-tcp.c:808,9'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:814,13'
          Dst:             inet_ntop
        - Src:             'modbus-tcp.c:815,13'
          Dst:             fprintf
        - Src:             'modbus-tcp.c:817,13'
          Dst:             printf
    - functionName:    modbus_tcp_pi_listen
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 651
      functionLinenumberEnd: 774
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         48
      ICount:          312
      EdgeCount:       64
      CyclomaticComplexity: 18
      functionsReached:
        - __errno_location
        - bind
        - close
        - fprintf
        - freeaddrinfo
        - gai_strerror
        - getaddrinfo
        - listen
        - perror
        - setsockopt
        - socket
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus-tcp.c:662,9'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:699,10'
          Dst:             getaddrinfo
        - Src:             'modbus-tcp.c:703,68'
          Dst:             gai_strerror
        - Src:             'modbus-tcp.c:703,13'
          Dst:             fprintf
        - Src:             'modbus-tcp.c:709,13'
          Dst:             freeaddrinfo
        - Src:             'modbus-tcp.c:711,9'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:724,13'
          Dst:             socket
        - Src:             'modbus-tcp.c:727,17'
          Dst:             perror
        - Src:             'modbus-tcp.c:735,18'
          Dst:             setsockopt
        - Src:             'modbus-tcp.c:738,17'
          Dst:             close
        - Src:             'modbus-tcp.c:740,21'
          Dst:             perror
        - Src:             'modbus-tcp.c:746,14'
          Dst:             bind
        - Src:             'modbus-tcp.c:748,13'
          Dst:             close
        - Src:             'modbus-tcp.c:750,17'
          Dst:             perror
        - Src:             'modbus-tcp.c:755,14'
          Dst:             listen
        - Src:             'modbus-tcp.c:757,13'
          Dst:             close
        - Src:             'modbus-tcp.c:759,17'
          Dst:             perror
        - Src:             'modbus-tcp.c:767,5'
          Dst:             freeaddrinfo
    - functionName:    perror
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_tcp_listen
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 576
      functionLinenumberEnd: 648
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         22
      ICount:          167
      EdgeCount:       30
      CyclomaticComplexity: 10
      functionsReached:
        - __errno_location
        - bind
        - close
        - fprintf
        - htonl
        - htons
        - inet_pton
        - listen
        - setsockopt
        - socket
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus-tcp.c:585,9'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:603,13'
          Dst:             socket
        - Src:             'modbus-tcp.c:612,9'
          Dst:             setsockopt
        - Src:             'modbus-tcp.c:614,9'
          Dst:             close
        - Src:             'modbus-tcp.c:621,21'
          Dst:             htons
        - Src:             'modbus-tcp.c:624,32'
          Dst:             htonl
        - Src:             'modbus-tcp.c:627,14'
          Dst:             inet_pton
        - Src:             'modbus-tcp.c:630,17'
          Dst:             fprintf
        - Src:             'modbus-tcp.c:632,13'
          Dst:             close
        - Src:             'modbus-tcp.c:637,9'
          Dst:             bind
        - Src:             'modbus-tcp.c:638,9'
          Dst:             close
        - Src:             'modbus-tcp.c:642,9'
          Dst:             listen
        - Src:             'modbus-tcp.c:643,9'
          Dst:             close
    - functionName:    htonl
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
...
