---
Fuzzer filename: '/src/libmodbus/fuzz/FuzzServer.c'
All functions:
  Function list name: All functions
  Elements:
    - functionName:    server
      functionSourceFile: '/src/libmodbus/fuzz/FuzzServer.c'
      linkageType:     InternalLinkage
      functionLinenumber: 93
      functionLinenumberEnd: 141
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          110
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - __errno_location
        - close
        - fprintf
        - modbus_close
        - modbus_free
        - modbus_mapping_free
        - modbus_mapping_new_start_address
        - modbus_new_tcp
        - modbus_receive
        - modbus_set_bits_from_bytes
        - modbus_strerror
        - modbus_tcp_accept
        - modbus_tcp_listen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'FuzzServer.c:101,11'
          Dst:             modbus_new_tcp
        - Src:             'FuzzServer.c:104,18'
          Dst:             modbus_mapping_new_start_address
        - Src:             'FuzzServer.c:111,33'
          Dst:             __errno_location
        - Src:             'FuzzServer.c:111,17'
          Dst:             modbus_strerror
        - Src:             'FuzzServer.c:110,9'
          Dst:             fprintf
        - Src:             'FuzzServer.c:112,9'
          Dst:             modbus_free
        - Src:             'FuzzServer.c:117,5'
          Dst:             modbus_set_bits_from_bytes
        - Src:             'FuzzServer.c:125,9'
          Dst:             modbus_tcp_listen
        - Src:             'FuzzServer.c:126,5'
          Dst:             modbus_tcp_accept
        - Src:             'FuzzServer.c:128,10'
          Dst:             modbus_receive
        - Src:             'FuzzServer.c:131,9'
          Dst:             close
        - Src:             'FuzzServer.c:134,5'
          Dst:             modbus_mapping_free
        - Src:             'FuzzServer.c:137,5'
          Dst:             modbus_close
        - Src:             'FuzzServer.c:138,5'
          Dst:             modbus_free
    - 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:    105
      BranchProfiles:  []
      Callsites:       []
    - 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:    33
      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:    20
      BranchProfiles:  []
      Callsites:       []
    - functionName:    LLVMFuzzerTestOneInput
      functionSourceFile: '/src/libmodbus/fuzz/FuzzServer.c'
      linkageType:     externalLinkage
      functionLinenumber: 72
      functionLinenumberEnd: 90
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          66
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - client
        - pthread_create
        - pthread_join
        - server
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'FuzzServer.c:84,5'
          Dst:             pthread_create
        - Src:             'FuzzServer.c:84,5'
          Dst:             client
        - Src:             'FuzzServer.c:85,5'
          Dst:             server
        - Src:             'FuzzServer.c:86,5'
          Dst:             pthread_join
    - functionName:    client
      functionSourceFile: '/src/libmodbus/fuzz/FuzzServer.c'
      linkageType:     InternalLinkage
      functionLinenumber: 47
      functionLinenumberEnd: 69
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         7
      ICount:          56
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - close
        - connect
        - htons
        - inet_addr
        - pthread_exit
        - send
        - socket
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'FuzzServer.c:53,14'
          Dst:             socket
        - Src:             'FuzzServer.c:55,26'
          Dst:             htons
        - Src:             'FuzzServer.c:56,33'
          Dst:             inet_addr
        - Src:             'FuzzServer.c:59,13'
          Dst:             connect
        - Src:             'FuzzServer.c:66,5'
          Dst:             send
        - Src:             'FuzzServer.c:68,5'
          Dst:             close
        - Src:             'FuzzServer.c:69,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:    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:    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:    2
      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:    2
      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:    strlcpy
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2345
      functionLinenumberEnd: 2366
      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: 2319
      functionLinenumberEnd: 2329
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          42
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_mapping_new
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2304
      functionLinenumberEnd: 2315
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - int
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          67
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - __errno_location
        - modbus_mapping_new_start_address
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:2309,9'
          Dst:             __errno_location
        - Src:             'modbus.c:2313,12'
          Dst:             modbus_mapping_new_start_address
    - functionName:    modbus_mapping_new_start_address
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2217
      functionLinenumberEnd: 2298
      functionDepth:   0
      returnType:      'N/A'
      argCount:        8
      argTypes:
        - int
        - int
        - int
        - int
        - int
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         35
      ICount:          299
      EdgeCount:       48
      CyclomaticComplexity: 15
      functionsReached:
        - __errno_location
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:2225,9'
          Dst:             __errno_location
    - functionName:    modbus_set_debug
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2193
      functionLinenumberEnd: 2201
      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:2195,9'
          Dst:             __errno_location
    - functionName:    modbus_free
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2185
      functionLinenumberEnd: 2190
      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: 2155
      functionLinenumberEnd: 2164
      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:2157,9'
          Dst:             __errno_location
    - functionName:    modbus_enable_quirks
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2143
      functionLinenumberEnd: 2152
      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:2145,9'
          Dst:             __errno_location
    - functionName:    modbus_get_header_length
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2133
      functionLinenumberEnd: 2140
      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:2135,9'
          Dst:             __errno_location
    - functionName:    modbus_set_indication_timeout
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2120
      functionLinenumberEnd: 2130
      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:2123,9'
          Dst:             __errno_location
    - functionName:    modbus_get_indication_timeout
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2108
      functionLinenumberEnd: 2117
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          63
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - __errno_location
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:2110,9'
          Dst:             __errno_location
    - functionName:    modbus_set_byte_timeout
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2093
      functionLinenumberEnd: 2103
      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:2096,9'
          Dst:             __errno_location
    - functionName:    modbus_get_byte_timeout
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2081
      functionLinenumberEnd: 2090
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          63
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - __errno_location
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:2083,9'
          Dst:             __errno_location
    - functionName:    modbus_set_response_timeout
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2068
      functionLinenumberEnd: 2077
      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:2070,9'
          Dst:             __errno_location
    - functionName:    modbus_get_response_timeout
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2056
      functionLinenumberEnd: 2065
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          63
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - __errno_location
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:2058,9'
          Dst:             __errno_location
    - functionName:    modbus_get_socket
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2045
      functionLinenumberEnd: 2052
      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:2047,9'
          Dst:             __errno_location
    - functionName:    modbus_set_socket
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2034
      functionLinenumberEnd: 2042
      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:2036,9'
          Dst:             __errno_location
    - functionName:    modbus_set_error_recovery
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2021
      functionLinenumberEnd: 2030
      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:2023,9'
          Dst:             __errno_location
    - functionName:    modbus_get_slave
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2011
      functionLinenumberEnd: 2018
      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:2013,9'
          Dst:             __errno_location
    - functionName:    _modbus_init_common
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1980
      functionLinenumberEnd: 1997
      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: 1937
      functionLinenumberEnd: 1977
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          160
      EdgeCount:       33
      CyclomaticComplexity: 10
      functionsReached:
        - __errno_location
        - _modbus_receive_msg
        - check_confirmation
        - send_msg
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1943,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1953,10'
          Dst:             send_msg
        - Src:             'modbus.c:1959,14'
          Dst:             _modbus_receive_msg
        - Src:             'modbus.c:1963,14'
          Dst:             check_confirmation
    - functionName:    send_msg
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 170
      functionLinenumberEnd: 228
      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:    13
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:178,13'
          Dst:             printf
        - Src:             'modbus.c:179,9'
          Dst:             printf
        - Src:             'modbus.c:187,13'
          Dst:             _error_print
        - Src:             'modbus.c:206,35'
          Dst:             __errno_location
        - Src:             'modbus.c:208,22'
          Dst:             __errno_location
        - Src:             'modbus.c:208,40'
          Dst:             __errno_location
        - Src:             'modbus.c:208,63'
          Dst:             __errno_location
        - Src:             'modbus.c:209,21'
          Dst:             modbus_close
        - Src:             'modbus.c:210,21'
          Dst:             _sleep_response_timeout
        - Src:             'modbus.c:211,21'
          Dst:             modbus_connect
        - Src:             'modbus.c:213,21'
          Dst:             _sleep_response_timeout
        - Src:             'modbus.c:214,21'
          Dst:             modbus_flush
        - Src:             'modbus.c:216,17'
          Dst:             __errno_location
        - Src:             'modbus.c:223,9'
          Dst:             __errno_location
    - functionName:    _modbus_receive_msg
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 366
      functionLinenumberEnd: 547
      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:    11
      BranchProfiles:
        - Branch String:   'modbus.c:507,13'
          Branch Sides:    []
      Callsites:
        - Src:             'modbus.c:380,13'
          Dst:             printf
        - Src:             'modbus.c:382,13'
          Dst:             printf
        - Src:             'modbus.c:388,13'
          Dst:             fprintf
        - Src:             'modbus.c:397,13'
          Dst:             fprintf
        - Src:             'modbus.c:399,9'
          Dst:             __errno_location
        - Src:             'modbus.c:431,13'
          Dst:             _error_print
        - Src:             'modbus.c:445,35'
          Dst:             __errno_location
        - Src:             'modbus.c:447,21'
          Dst:             __errno_location
        - Src:             'modbus.c:448,21'
          Dst:             _sleep_response_timeout
        - Src:             'modbus.c:449,21'
          Dst:             modbus_flush
        - Src:             'modbus.c:450,28'
          Dst:             __errno_location
        - Src:             'modbus.c:451,21'
          Dst:             modbus_close
        - Src:             'modbus.c:452,21'
          Dst:             modbus_connect
        - Src:             'modbus.c:454,17'
          Dst:             __errno_location
        - Src:             'modbus.c:462,13'
          Dst:             __errno_location
        - Src:             'modbus.c:467,13'
          Dst:             _error_print
        - Src:             'modbus.c:483,18'
          Dst:             __errno_location
        - Src:             'modbus.c:483,41'
          Dst:             __errno_location
        - Src:             'modbus.c:483,66'
          Dst:             __errno_location
        - Src:             'modbus.c:484,35'
          Dst:             __errno_location
        - Src:             'modbus.c:485,17'
          Dst:             modbus_close
        - Src:             'modbus.c:486,17'
          Dst:             modbus_connect
        - Src:             'modbus.c:488,17'
          Dst:             __errno_location
        - Src:             'modbus.c:498,17'
          Dst:             printf
        - Src:             'modbus.c:510,34'
          Dst:             compute_meta_length_after_function
        - Src:             'modbus.c:517,34'
          Dst:             compute_data_length_after_meta
        - Src:             'modbus.c:519,21'
          Dst:             __errno_location
        - Src:             'modbus.c:520,21'
          Dst:             _error_print
        - Src:             'modbus.c:544,9'
          Dst:             printf
    - functionName:    check_confirmation
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 579
      functionLinenumberEnd: 735
      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:646,9'
          Branch Sides:    []
      Callsites:
        - Src:             'modbus.c:589,17'
          Dst:             _sleep_response_timeout
        - Src:             'modbus.c:590,17'
          Dst:             modbus_flush
        - Src:             'modbus.c:596,27'
          Dst:             compute_response_length_from_request
        - Src:             'modbus.c:606,17'
          Dst:             __errno_location
        - Src:             'modbus.c:608,17'
          Dst:             __errno_location
        - Src:             'modbus.c:610,13'
          Dst:             _error_print
        - Src:             'modbus.c:613,13'
          Dst:             __errno_location
        - Src:             'modbus.c:614,13'
          Dst:             _error_print
        - Src:             'modbus.c:631,17'
          Dst:             fprintf
        - Src:             'modbus.c:638,17'
          Dst:             _sleep_response_timeout
        - Src:             'modbus.c:639,17'
          Dst:             modbus_flush
        - Src:             'modbus.c:641,13'
          Dst:             __errno_location
        - Src:             'modbus.c:704,17'
          Dst:             fprintf
        - Src:             'modbus.c:711,17'
          Dst:             _sleep_response_timeout
        - Src:             'modbus.c:712,17'
          Dst:             modbus_flush
        - Src:             'modbus.c:715,13'
          Dst:             __errno_location
        - Src:             'modbus.c:720,13'
          Dst:             fprintf
        - Src:             'modbus.c:727,13'
          Dst:             _sleep_response_timeout
        - Src:             'modbus.c:728,13'
          Dst:             modbus_flush
        - Src:             'modbus.c:730,9'
          Dst:             __errno_location
    - functionName:    _sleep_response_timeout
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 99
      functionLinenumberEnd: 113
      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:109,12'
          Dst:             nanosleep
        - Src:             'modbus.c:109,53'
          Dst:             __errno_location
    - functionName:    modbus_flush
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 116
      functionLinenumberEnd: 130
      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:120,9'
          Dst:             __errno_location
        - Src:             'modbus.c:127,9'
          Dst:             printf
    - functionName:    compute_response_length_from_request
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 134
      functionLinenumberEnd: 166
      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:138,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    _error_print
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 87
      functionLinenumberEnd: 96
      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:89,53'
          Dst:             __errno_location
        - Src:             'modbus.c:89,37'
          Dst:             modbus_strerror
        - Src:             'modbus.c:89,9'
          Dst:             fprintf
        - Src:             'modbus.c:91,13'
          Dst:             fprintf
        - Src:             'modbus.c:93,13'
          Dst:             fprintf
    - functionName:    modbus_strerror
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 49
      functionLinenumberEnd: 84
      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:50,5'
          Branch Sides:    []
      Callsites:
        - Src:             'modbus.c:82,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: 2177
      functionLinenumberEnd: 2182
      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: 2167
      functionLinenumberEnd: 2174
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          39
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:2169,9'
          Dst:             __errno_location
    - functionName:    compute_meta_length_after_function
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 281
      functionLinenumberEnd: 315
      functionDepth:   0
      returnType:      char
      argCount:        2
      argTypes:
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         27
      ICount:          102
      EdgeCount:       31
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    2
      BranchProfiles:
        - Branch String:   'modbus.c:300,9'
          Branch Sides:    []
      Callsites:       []
    - functionName:    compute_data_length_after_meta
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 321
      functionLinenumberEnd: 350
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          126
      EdgeCount:       20
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    2
      BranchProfiles:
        - Branch String:   'modbus.c:326,9'
          Branch Sides:    []
      Callsites:       []
    - functionName:    modbus_write_and_read_registers
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1863
      functionLinenumberEnd: 1932
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         40
      ICount:          323
      EdgeCount:       54
      CyclomaticComplexity: 16
      functionsReached:
        - __errno_location
        - _modbus_receive_msg
        - check_confirmation
        - fprintf
        - send_msg
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1872,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1878,13'
          Dst:             fprintf
        - Src:             'modbus.c:1883,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1889,13'
          Dst:             fprintf
        - Src:             'modbus.c:1894,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1912,10'
          Dst:             send_msg
        - Src:             'modbus.c:1916,14'
          Dst:             _modbus_receive_msg
        - Src:             'modbus.c:1920,14'
          Dst:             check_confirmation
    - functionName:    modbus_mask_write_register
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1814
      functionLinenumberEnd: 1851
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - short
        - short
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          129
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - __errno_location
        - _modbus_receive_msg
        - check_confirmation
        - send_msg
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1823,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1838,10'
          Dst:             send_msg
        - Src:             'modbus.c:1843,14'
          Dst:             _modbus_receive_msg
        - Src:             'modbus.c:1847,14'
          Dst:             check_confirmation
    - functionName:    modbus_write_registers
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1763
      functionLinenumberEnd: 1808
      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:1771,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1777,13'
          Dst:             fprintf
        - Src:             'modbus.c:1782,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1796,10'
          Dst:             send_msg
        - Src:             'modbus.c:1800,14'
          Dst:             _modbus_receive_msg
        - Src:             'modbus.c:1804,14'
          Dst:             check_confirmation
    - functionName:    modbus_write_bits
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1700
      functionLinenumberEnd: 1759
      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:1710,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1716,13'
          Dst:             fprintf
        - Src:             'modbus.c:1721,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1747,10'
          Dst:             send_msg
        - Src:             'modbus.c:1751,14'
          Dst:             _modbus_receive_msg
        - Src:             'modbus.c:1755,14'
          Dst:             check_confirmation
    - functionName:    modbus_write_register
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1689
      functionLinenumberEnd: 1696
      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:1691,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1695,12'
          Dst:             write_single
    - functionName:    write_single
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1649
      functionLinenumberEnd: 1674
      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:1655,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1661,10'
          Dst:             send_msg
        - Src:             'modbus.c:1666,14'
          Dst:             _modbus_receive_msg
        - Src:             'modbus.c:1670,14'
          Dst:             check_confirmation
    - functionName:    modbus_write_bit
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1678
      functionLinenumberEnd: 1685
      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:1680,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1684,12'
          Dst:             write_single
    - functionName:    modbus_read_input_registers
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1622
      functionLinenumberEnd: 1644
      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:1626,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1632,13'
          Dst:             fprintf
        - Src:             'modbus.c:1637,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1641,14'
          Dst:             read_registers
    - functionName:    read_registers
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1551
      functionLinenumberEnd: 1592
      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:1559,13'
          Dst:             fprintf
        - Src:             'modbus.c:1564,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1570,10'
          Dst:             send_msg
        - Src:             'modbus.c:1575,14'
          Dst:             _modbus_receive_msg
        - Src:             'modbus.c:1579,14'
          Dst:             check_confirmation
    - functionName:    modbus_read_registers
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1597
      functionLinenumberEnd: 1618
      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:1601,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1607,13'
          Dst:             fprintf
        - Src:             'modbus.c:1612,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1616,14'
          Dst:             read_registers
    - functionName:    modbus_read_input_bits
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1522
      functionLinenumberEnd: 1547
      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:1526,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1532,13'
          Dst:             fprintf
        - Src:             'modbus.c:1537,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1541,10'
          Dst:             read_io_status
    - functionName:    read_io_status
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1449
      functionLinenumberEnd: 1488
      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:1458,10'
          Dst:             send_msg
        - Src:             'modbus.c:1466,14'
          Dst:             _modbus_receive_msg
        - Src:             'modbus.c:1470,14'
          Dst:             check_confirmation
    - functionName:    modbus_read_bits
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1493
      functionLinenumberEnd: 1518
      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:1497,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1503,13'
          Dst:             fprintf
        - Src:             'modbus.c:1508,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1512,10'
          Dst:             read_io_status
    - functionName:    modbus_set_slave
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2001
      functionLinenumberEnd: 2008
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          42
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:2003,9'
          Dst:             __errno_location
    - functionName:    modbus_proxy
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1307
      functionLinenumberEnd: 1445
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         41
      ICount:          394
      EdgeCount:       56
      CyclomaticComplexity: 17
      functionsReached:
        - __errno_location
        - _modbus_receive_msg
        - modbus_reply_exception
        - modbus_send_raw_request_tid
        - modbus_set_slave
        - send_msg
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1323,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1328,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1341,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1346,10'
          Dst:             modbus_set_slave
        - Src:             'modbus.c:1348,9'
          Dst:             modbus_reply_exception
        - Src:             'modbus.c:1370,10'
          Dst:             modbus_send_raw_request_tid
        - Src:             'modbus.c:1373,9'
          Dst:             modbus_reply_exception
        - Src:             'modbus.c:1378,26'
          Dst:             _modbus_receive_msg
        - Src:             'modbus.c:1380,13'
          Dst:             __errno_location
        - Src:             'modbus.c:1381,13'
          Dst:             modbus_reply_exception
        - Src:             'modbus.c:1384,13'
          Dst:             modbus_reply_exception
        - Src:             'modbus.c:1410,13'
          Dst:             modbus_reply_exception
        - Src:             'modbus.c:1421,9'
          Dst:             modbus_reply_exception
        - Src:             'modbus.c:1444,12'
          Dst:             send_msg
    - functionName:    modbus_reply_exception
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1268
      functionLinenumberEnd: 1298
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          120
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - __errno_location
        - send_msg
      functionUses:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:1277,9'
          Dst:             __errno_location
        - Src:             'modbus.c:1293,16'
          Dst:             send_msg
        - Src:             'modbus.c:1295,9'
          Dst:             __errno_location
    - functionName:    modbus_send_raw_request_tid
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 234
      functionLinenumberEnd: 266
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          120
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - __errno_location
        - send_msg
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:240,9'
          Dst:             __errno_location
        - Src:             'modbus.c:248,9'
          Dst:             __errno_location
        - Src:             'modbus.c:265,12'
          Dst:             send_msg
    - functionName:    response_io_status
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 739
      functionLinenumberEnd: 759
      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: 770
      functionLinenumberEnd: 793
      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:    20
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:778,9'
          Dst:             vfprintf
        - Src:             'modbus.c:784,9'
          Dst:             _sleep_response_timeout
        - Src:             'modbus.c:785,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: 806
      functionLinenumberEnd: 1265
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         205
      ICount:          1843
      EdgeCount:       271
      CyclomaticComplexity: 68
      functionsReached:
        - __errno_location
        - compute_data_length_after_meta
        - compute_meta_length_after_function
        - compute_response_length_from_request
        - modbus_set_bits_from_bytes
        - response_exception
        - response_io_status
        - send_msg
      functionUses:    0
      BranchProfiles:
        - Branch String:   'modbus.c:880,5'
          Branch Sides:    []
      Callsites:
        - Src:             'modbus.c:818,9'
          Dst:             __errno_location
        - Src:             'modbus.c:827,9'
          Dst:             __errno_location
        - Src:             'modbus.c:853,19'
          Dst:             compute_meta_length_after_function
        - Src:             'modbus.c:858,23'
          Dst:             compute_data_length_after_meta
        - Src:             'modbus.c:861,22'
          Dst:             response_exception
        - Src:             'modbus.c:876,16'
          Dst:             send_msg
        - Src:             'modbus.c:894,26'
          Dst:             response_exception
        - Src:             'modbus.c:904,26'
          Dst:             response_exception
        - Src:             'modbus.c:916,17'
          Dst:             response_io_status
        - Src:             'modbus.c:935,26'
          Dst:             response_exception
        - Src:             'modbus.c:945,26'
          Dst:             response_exception
        - Src:             'modbus.c:968,26'
          Dst:             response_exception
        - Src:             'modbus.c:979,22'
          Dst:             compute_response_length_from_request
        - Src:             'modbus.c:982,26'
          Dst:             response_exception
        - Src:             'modbus.c:1004,26'
          Dst:             response_exception
        - Src:             'modbus.c:1020,17'
          Dst:             response_exception
        - Src:             'modbus.c:1030,22'
          Dst:             compute_response_length_from_request
        - Src:             'modbus.c:1033,26'
          Dst:             response_exception
        - Src:             'modbus.c:1060,17'
          Dst:             response_exception
        - Src:             'modbus.c:1069,26'
          Dst:             response_exception
        - Src:             'modbus.c:1078,13'
          Dst:             modbus_set_bits_from_bytes
        - Src:             'modbus.c:1093,26'
          Dst:             response_exception
        - Src:             'modbus.c:1105,17'
          Dst:             response_exception
        - Src:             'modbus.c:1143,22'
          Dst:             response_exception
        - Src:             'modbus.c:1155,17'
          Dst:             response_exception
        - Src:             'modbus.c:1167,26'
          Dst:             compute_response_length_from_request
        - Src:             'modbus.c:1170,30'
          Dst:             response_exception
        - Src:             'modbus.c:1199,26'
          Dst:             response_exception
        - Src:             'modbus.c:1215,26'
          Dst:             response_exception
        - Src:             'modbus.c:1247,22'
          Dst:             response_exception
        - Src:             'modbus.c:1264,12'
          Dst:             send_msg
    - functionName:    modbus_receive_confirmation
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 569
      functionLinenumberEnd: 576
      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:571,9'
          Dst:             __errno_location
        - Src:             'modbus.c:575,12'
          Dst:             _modbus_receive_msg
    - functionName:    modbus_receive
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 551
      functionLinenumberEnd: 558
      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:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus.c:553,9'
          Dst:             __errno_location
    - functionName:    modbus_send_raw_request
      functionSourceFile: '/src/libmodbus/src/modbus.c'
      linkageType:     InternalLinkage
      functionLinenumber: 269
      functionLinenumberEnd: 270
      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:270,12'
          Dst:             modbus_send_raw_request_tid
    - functionName:    modbus_set_float
      functionSourceFile: '/src/libmodbus/src/modbus-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 243
      functionLinenumberEnd: 245
      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:244,5'
          Dst:             modbus_set_float_cdab
    - functionName:    modbus_set_float_cdab
      functionSourceFile: '/src/libmodbus/src/modbus-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 226
      functionLinenumberEnd: 239
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - float
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          54
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_set_float_badc
      functionSourceFile: '/src/libmodbus/src/modbus-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 209
      functionLinenumberEnd: 222
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - float
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          54
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_set_float_dcba
      functionSourceFile: '/src/libmodbus/src/modbus-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 192
      functionLinenumberEnd: 205
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - float
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          54
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_set_float_abcd
      functionSourceFile: '/src/libmodbus/src/modbus-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 171
      functionLinenumberEnd: 188
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - float
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          54
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_get_float
      functionSourceFile: '/src/libmodbus/src/modbus-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 165
      functionLinenumberEnd: 166
      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:166,12'
          Dst:             modbus_get_float_cdab
    - functionName:    modbus_get_float_cdab
      functionSourceFile: '/src/libmodbus/src/modbus-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 145
      functionLinenumberEnd: 160
      functionDepth:   0
      returnType:      float
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          61
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_get_float_badc
      functionSourceFile: '/src/libmodbus/src/modbus-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 125
      functionLinenumberEnd: 140
      functionDepth:   0
      returnType:      float
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          61
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_get_float_dcba
      functionSourceFile: '/src/libmodbus/src/modbus-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 105
      functionLinenumberEnd: 120
      functionDepth:   0
      returnType:      float
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          61
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_get_float_abcd
      functionSourceFile: '/src/libmodbus/src/modbus-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 80
      functionLinenumberEnd: 100
      functionDepth:   0
      returnType:      float
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          61
      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: 62
      functionLinenumberEnd: 75
      functionDepth:   0
      returnType:      char
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          60
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_set_bits_from_bytes
      functionSourceFile: '/src/libmodbus/src/modbus-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 47
      functionLinenumberEnd: 57
      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:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_set_bits_from_byte
      functionSourceFile: '/src/libmodbus/src/modbus-data.c'
      linkageType:     InternalLinkage
      functionLinenumber: 33
      functionLinenumberEnd: 39
      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:    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:    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:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_new_tcp_pi
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1048
      functionLinenumberEnd: 1102
      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:1056,5'
          Dst:             _modbus_init_common
        - Src:             'modbus-tcp.c:1065,9'
          Dst:             modbus_free
        - Src:             'modbus-tcp.c:1066,9'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:1074,28'
          Dst:             strdup
        - Src:             'modbus-tcp.c:1077,28'
          Dst:             strdup
        - Src:             'modbus-tcp.c:1081,9'
          Dst:             modbus_free
        - Src:             'modbus-tcp.c:1082,9'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:1087,31'
          Dst:             strdup
        - Src:             'modbus-tcp.c:1090,31'
          Dst:             strdup
        - Src:             'modbus-tcp.c:1094,9'
          Dst:             modbus_free
        - Src:             'modbus-tcp.c:1095,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: 417
      functionLinenumberEnd: 516
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         37
      ICount:          256
      EdgeCount:       49
      CyclomaticComplexity: 14
      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:442,10'
          Dst:             getaddrinfo
        - Src:             'modbus-tcp.c:446,68'
          Dst:             gai_strerror
        - Src:             'modbus-tcp.c:446,13'
          Dst:             fprintf
        - Src:             'modbus-tcp.c:452,13'
          Dst:             freeaddrinfo
        - Src:             'modbus-tcp.c:454,9'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:470,13'
          Dst:             socket
        - Src:             'modbus-tcp.c:476,17'
          Dst:             fprintf
        - Src:             'modbus-tcp.c:482,13'
          Dst:             close
        - Src:             'modbus-tcp.c:487,13'
          Dst:             _modbus_tcp_set_ipv4_options
        - Src:             'modbus-tcp.c:490,13'
          Dst:             printf
        - Src:             'modbus-tcp.c:493,14'
          Dst:             _connect
        - Src:             'modbus-tcp.c:495,13'
          Dst:             close
        - Src:             'modbus-tcp.c:503,5'
          Dst:             freeaddrinfo
        - Src:             'modbus-tcp.c:511,9'
          Dst:             close
    - functionName:    _modbus_tcp_is_connected
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 519
      functionLinenumberEnd: 520
      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: 525
      functionLinenumberEnd: 531
      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:527,9'
          Dst:             shutdown
        - Src:             'modbus-tcp.c:528,9'
          Dst:             close
    - functionName:    _modbus_tcp_flush
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 534
      functionLinenumberEnd: 582
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         14
      ICount:          75
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached:
        - __errno_location
        - recv
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus-tcp.c:544,14'
          Dst:             recv
        - Src:             'modbus-tcp.c:574,17'
          Dst:             __errno_location
    - functionName:    _modbus_tcp_select
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 884
      functionLinenumberEnd: 909
      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:886,20'
          Dst:             select
        - Src:             'modbus-tcp.c:887,13'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:889,17'
          Dst:             fprintf
        - Src:             'modbus-tcp.c:894,17'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:904,9'
          Dst:             __errno_location
    - functionName:    _modbus_tcp_pi_free
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 920
      functionLinenumberEnd: 929
      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:    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:    2
      BranchProfiles:  []
      Callsites:       []
    - 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:    1
      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: 981
      functionLinenumberEnd: 1045
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          129
      EdgeCount:       20
      CyclomaticComplexity: 7
      functionsReached:
        - __errno_location
        - _modbus_init_common
        - fprintf
        - modbus_free
        - strlcpy
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus-tcp.c:1006,5'
          Dst:             _modbus_init_common
        - Src:             'modbus-tcp.c:1015,9'
          Dst:             modbus_free
        - Src:             'modbus-tcp.c:1016,9'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:1023,20'
          Dst:             strlcpy
        - Src:             'modbus-tcp.c:1025,13'
          Dst:             fprintf
        - Src:             'modbus-tcp.c:1026,13'
          Dst:             modbus_free
        - Src:             'modbus-tcp.c:1027,13'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:1032,13'
          Dst:             fprintf
        - Src:             'modbus-tcp.c:1033,13'
          Dst:             modbus_free
        - Src:             'modbus-tcp.c:1034,13'
          Dst:             __errno_location
    - functionName:    _modbus_tcp_connect
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 339
      functionLinenumberEnd: 413
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         26
      ICount:          190
      EdgeCount:       35
      CyclomaticComplexity: 11
      functionsReached:
        - __errno_location
        - _connect
        - _modbus_tcp_set_ipv4_options
        - close
        - fprintf
        - htons
        - inet_pton
        - printf
        - socket
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus-tcp.c:361,9'
          Dst:             socket
        - Src:             'modbus-tcp.c:368,13'
          Dst:             fprintf
        - Src:             'modbus-tcp.c:374,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:386,9'
          Dst:             printf
        - Src:             'modbus-tcp.c:390,21'
          Dst:             htons
        - Src:             'modbus-tcp.c:391,10'
          Dst:             inet_pton
        - Src:             'modbus-tcp.c:394,13'
          Dst:             fprintf
        - Src:             'modbus-tcp.c:396,9'
          Dst:             close
        - Src:             'modbus-tcp.c:400,10'
          Dst:             _connect
        - Src:             'modbus-tcp.c:402,9'
          Dst:             close
        - Src:             'modbus-tcp.c:408,9'
          Dst:             close
    - functionName:    _modbus_tcp_free
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 912
      functionLinenumberEnd: 917
      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: 835
      functionLinenumberEnd: 880
      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:840,9'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:847,14'
          Dst:             accept4
        - Src:             'modbus-tcp.c:858,13'
          Dst:             fprintf
        - Src:             'modbus-tcp.c:864,9'
          Dst:             close
        - Src:             'modbus-tcp.c:866,9'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:872,13'
          Dst:             inet_ntop
        - Src:             'modbus-tcp.c:873,13'
          Dst:             fprintf
        - Src:             'modbus-tcp.c:875,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: 787
      functionLinenumberEnd: 832
      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:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus-tcp.c:792,9'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:799,14'
          Dst:             accept4
        - Src:             'modbus-tcp.c:810,13'
          Dst:             fprintf
        - Src:             'modbus-tcp.c:816,9'
          Dst:             close
        - Src:             'modbus-tcp.c:818,9'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:824,13'
          Dst:             inet_ntop
        - Src:             'modbus-tcp.c:825,13'
          Dst:             fprintf
        - Src:             'modbus-tcp.c:827,13'
          Dst:             printf
    - functionName:    modbus_tcp_pi_listen
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 661
      functionLinenumberEnd: 784
      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:672,9'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:709,10'
          Dst:             getaddrinfo
        - Src:             'modbus-tcp.c:713,68'
          Dst:             gai_strerror
        - Src:             'modbus-tcp.c:713,13'
          Dst:             fprintf
        - Src:             'modbus-tcp.c:719,13'
          Dst:             freeaddrinfo
        - Src:             'modbus-tcp.c:721,9'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:734,13'
          Dst:             socket
        - Src:             'modbus-tcp.c:737,17'
          Dst:             perror
        - Src:             'modbus-tcp.c:745,18'
          Dst:             setsockopt
        - Src:             'modbus-tcp.c:748,17'
          Dst:             close
        - Src:             'modbus-tcp.c:750,21'
          Dst:             perror
        - Src:             'modbus-tcp.c:756,14'
          Dst:             bind
        - Src:             'modbus-tcp.c:758,13'
          Dst:             close
        - Src:             'modbus-tcp.c:760,17'
          Dst:             perror
        - Src:             'modbus-tcp.c:765,14'
          Dst:             listen
        - Src:             'modbus-tcp.c:767,13'
          Dst:             close
        - Src:             'modbus-tcp.c:769,17'
          Dst:             perror
        - Src:             'modbus-tcp.c:777,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:    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:    2
      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:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_tcp_listen
      functionSourceFile: '/src/libmodbus/src/modbus-tcp.c'
      linkageType:     InternalLinkage
      functionLinenumber: 586
      functionLinenumberEnd: 658
      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:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'modbus-tcp.c:595,9'
          Dst:             __errno_location
        - Src:             'modbus-tcp.c:613,13'
          Dst:             socket
        - Src:             'modbus-tcp.c:622,9'
          Dst:             setsockopt
        - Src:             'modbus-tcp.c:624,9'
          Dst:             close
        - Src:             'modbus-tcp.c:631,21'
          Dst:             htons
        - Src:             'modbus-tcp.c:634,32'
          Dst:             htonl
        - Src:             'modbus-tcp.c:637,14'
          Dst:             inet_pton
        - Src:             'modbus-tcp.c:640,17'
          Dst:             fprintf
        - Src:             'modbus-tcp.c:642,13'
          Dst:             close
        - Src:             'modbus-tcp.c:647,9'
          Dst:             bind
        - Src:             'modbus-tcp.c:648,9'
          Dst:             close
        - Src:             'modbus-tcp.c:652,9'
          Dst:             listen
        - Src:             'modbus-tcp.c:653,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:       []
...
