---
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:
        - fuzzer
      BBCount:         13
      ICount:          117
      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:
        - Branch String:   'FuzzServer.c:109,9'
          Branch Sides:
            - BranchSide:      'FuzzServer.c:110,17'
              BranchSideFuncs:
                - __errno_location
                - modbus_strerror
                - fprintf
                - modbus_free
            - BranchSide:      'FuzzServer.c:117,32'
              BranchSideFuncs:
                - modbus_set_bits_from_bytes
                - modbus_tcp_listen
                - modbus_tcp_accept
                - modbus_receive
                - modbus_mapping_free
                - free
                - modbus_close
                - modbus_free
                - close
        - Branch String:   'FuzzServer.c:121,5'
          Branch Sides:
            - BranchSide:      'FuzzServer.c:122,69'
              BranchSideFuncs:
                - modbus_tcp_listen
                - modbus_tcp_accept
                - modbus_receive
                - modbus_mapping_free
                - free
                - modbus_close
                - modbus_free
                - close
            - BranchSide:      'FuzzServer.c:125,27'
              BranchSideFuncs:
                - modbus_tcp_listen
                - modbus_tcp_accept
                - modbus_receive
                - modbus_mapping_free
                - free
                - modbus_close
                - modbus_free
                - close
        - Branch String:   'FuzzServer.c:130,9'
          Branch Sides:
            - BranchSide:      'FuzzServer.c:131,15'
              BranchSideFuncs:
                - close
                - modbus_mapping_free
                - free
                - modbus_close
                - modbus_free
            - BranchSide:      'FuzzServer.c:134,25'
              BranchSideFuncs:
                - modbus_mapping_free
                - free
                - modbus_close
                - modbus_free
      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:    modbus_new_tcp
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_mapping_new_start_address
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        8
      argTypes:
        - int
        - int
        - int
        - int
        - int
        - int
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    __errno_location
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_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:    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:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_free
      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:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_set_bits_from_bytes
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_tcp_listen
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_tcp_accept
      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_receive
      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:    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:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    modbus_mapping_free
      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:    modbus_close
      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:    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:
        - data
        - size
      BBCount:         9
      ICount:          69
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - client
        - pthread_create
        - pthread_join
        - server
      functionUses:    0
      BranchProfiles:
        - Branch String:   'FuzzServer.c:74,32'
          Branch Sides:
            - BranchSide:      'FuzzServer.c:74,35'
              BranchSideFuncs: []
            - BranchSide:      'FuzzServer.c:75,9'
              BranchSideFuncs: []
        - Branch String:   'FuzzServer.c:74,9'
          Branch Sides:
            - BranchSide:      'FuzzServer.c:75,9'
              BranchSideFuncs: []
            - BranchSide:      'FuzzServer.c:78,31'
              BranchSideFuncs:
                - malloc
                - pthread_create
                - server
                - pthread_join
                - free
      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:
        - args
      BBCount:         7
      ICount:          60
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - close
        - connect
        - htons
        - inet_addr
        - pthread_exit
        - send
        - socket
      functionUses:    1
      BranchProfiles:
        - Branch String:   'FuzzServer.c:59,13'
          Branch Sides:
            - BranchSide:      'FuzzServer.c:60,13'
              BranchSideFuncs:
                - connect
                - send
                - close
                - pthread_exit
            - BranchSide:      'FuzzServer.c:62,13'
              BranchSideFuncs:
                - send
                - close
                - pthread_exit
      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:    1
      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:    1
      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:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    send
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        4
      argTypes:
        - int
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      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:       []
...
