---
Fuzzer filename: '/src/qubes-os/qubes-core-qubesdb/fuzz/db-daemon_fuzzer.c'
All functions:
  Function list name: All functions
  Elements:
    - functionName:    buffer_substract
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/buffer.c'
      linkageType:     InternalLinkage
      functionLinenumber: 94
      functionLinenumberEnd: 112
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          98
      EdgeCount:       16
      CyclomaticComplexity: 4
      functionsReached:
        - __assert_fail
        - buffer_secure_zero
        - exit
        - perror
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/buffer.c:95,5'
          Dst:             __assert_fail
        - Src:             '../daemon/buffer.c:100,13'
          Dst:             buffer_secure_zero
        - Src:             '../daemon/buffer.c:104,17'
          Dst:             perror
        - Src:             '../daemon/buffer.c:105,17'
          Dst:             exit
    - functionName:    __assert_fail
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    7
      BranchProfiles:  []
      Callsites:       []
    - functionName:    buffer_secure_zero
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/buffer.h'
      linkageType:     InternalLinkage
      functionLinenumber: 48
      functionLinenumberEnd: 56
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          11
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - 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:    25
      BranchProfiles:  []
      Callsites:       []
    - functionName:    exit
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    16
      BranchProfiles:  []
      Callsites:       []
    - functionName:    buffer_data
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/buffer.c'
      linkageType:     InternalLinkage
      functionLinenumber: 89
      functionLinenumberEnd: 90
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          14
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    buffer_datacount
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/buffer.c'
      linkageType:     InternalLinkage
      functionLinenumber: 84
      functionLinenumberEnd: 85
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          9
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    buffer_append
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/buffer.c'
      linkageType:     InternalLinkage
      functionLinenumber: 62
      functionLinenumberEnd: 81
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          126
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - buffer_secure_zero
        - perror
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/buffer.c:68,13'
          Dst:             perror
        - Src:             '../daemon/buffer.c:72,9'
          Dst:             buffer_secure_zero
    - functionName:    buffer_free
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/buffer.c'
      linkageType:     InternalLinkage
      functionLinenumber: 47
      functionLinenumberEnd: 55
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          48
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - buffer_secure_zero
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/buffer.c:51,9'
          Dst:             buffer_secure_zero
    - functionName:    buffer_create
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/buffer.c'
      linkageType:     InternalLinkage
      functionLinenumber: 30
      functionLinenumberEnd: 45
      functionDepth:   0
      returnType:      'N/A'
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         8
      ICount:          55
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    discard_data
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-cmds.c'
      linkageType:     InternalLinkage
      functionLinenumber: 281
      functionLinenumberEnd: 292
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          69
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - read_vchan_or_client
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-cmds.c:287,14'
          Dst:             read_vchan_or_client
    - functionName:    read_vchan_or_client
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-cmds.c'
      linkageType:     InternalLinkage
      functionLinenumber: 229
      functionLinenumberEnd: 273
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          135
      EdgeCount:       29
      CyclomaticComplexity: 10
      functionsReached:
        - __errno_location
        - libvchan_close
        - libvchan_recv
        - perror
        - read
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-cmds.c:243,13'
          Dst:             libvchan_recv
        - Src:             '../daemon/db-cmds.c:244,13'
          Dst:             perror
        - Src:             '../daemon/db-cmds.c:245,13'
          Dst:             libvchan_close
        - Src:             '../daemon/db-cmds.c:254,19'
          Dst:             read
        - Src:             '../daemon/db-cmds.c:256,21'
          Dst:             __errno_location
        - Src:             '../daemon/db-cmds.c:258,17'
          Dst:             perror
    - functionName:    read
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      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:    14
      BranchProfiles:  []
      Callsites:       []
    - functionName:    verify_data
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-cmds.c'
      linkageType:     InternalLinkage
      functionLinenumber: 80
      functionLinenumberEnd: 89
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          45
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    verify_path
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-cmds.c'
      linkageType:     InternalLinkage
      functionLinenumber: 38
      functionLinenumberEnd: 72
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         39
      ICount:          199
      EdgeCount:       48
      CyclomaticComplexity: 11
      functionsReached:
        - strlen
      functionUses:    1
      BranchProfiles:
        - Branch String:   '../daemon/db-cmds.c:54,9'
          Branch Sides:    []
      Callsites:
        - Src:             '../daemon/db-cmds.c:42,21'
          Dst:             strlen
    - functionName:    strlen
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    8
      BranchProfiles:  []
      Callsites:       []
    - functionName:    request_full_db_sync
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-cmds.c'
      linkageType:     InternalLinkage
      functionLinenumber: 866
      functionLinenumberEnd: 873
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          23
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - write_vchan_or_client
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-cmds.c:873,12'
          Dst:             write_vchan_or_client
    - functionName:    write_vchan_or_client
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-cmds.c'
      linkageType:     InternalLinkage
      functionLinenumber: 158
      functionLinenumberEnd: 226
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         35
      ICount:          228
      EdgeCount:       47
      CyclomaticComplexity: 14
      functionsReached:
        - __errno_location
        - buffer_append
        - buffer_data
        - buffer_datacount
        - buffer_substract
        - perror
        - vchan_write_nonblock
        - write
      functionUses:    20
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-cmds.c:185,29'
          Dst:             buffer_datacount
        - Src:             '../daemon/db-cmds.c:188,32'
          Dst:             buffer_data
        - Src:             '../daemon/db-cmds.c:188,19'
          Dst:             write
        - Src:             '../daemon/db-cmds.c:191,50'
          Dst:             buffer_data
        - Src:             '../daemon/db-cmds.c:191,19'
          Dst:             vchan_write_nonblock
        - Src:             '../daemon/db-cmds.c:193,17'
          Dst:             __errno_location
        - Src:             '../daemon/db-cmds.c:193,36'
          Dst:             __errno_location
        - Src:             '../daemon/db-cmds.c:196,17'
          Dst:             buffer_append
        - Src:             '../daemon/db-cmds.c:199,13'
          Dst:             perror
        - Src:             '../daemon/db-cmds.c:202,9'
          Dst:             buffer_substract
        - Src:             '../daemon/db-cmds.c:209,19'
          Dst:             write
        - Src:             '../daemon/db-cmds.c:212,19'
          Dst:             vchan_write_nonblock
        - Src:             '../daemon/db-cmds.c:214,17'
          Dst:             __errno_location
        - Src:             '../daemon/db-cmds.c:214,36'
          Dst:             __errno_location
        - Src:             '../daemon/db-cmds.c:217,17'
          Dst:             buffer_append
        - Src:             '../daemon/db-cmds.c:220,13'
          Dst:             perror
    - functionName:    write
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - int
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    5
      BranchProfiles:  []
      Callsites:       []
    - functionName:    vchan_write_nonblock
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-cmds.c'
      linkageType:     InternalLinkage
      functionLinenumber: 140
      functionLinenumberEnd: 149
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          59
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - __errno_location
        - libvchan_buffer_space
        - libvchan_write
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-cmds.c:141,20'
          Dst:             libvchan_buffer_space
        - Src:             '../daemon/db-cmds.c:144,15'
          Dst:             libvchan_write
        - Src:             '../daemon/db-cmds.c:147,9'
          Dst:             __errno_location
    - functionName:    handle_client_disconnect
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-cmds.c'
      linkageType:     InternalLinkage
      functionLinenumber: 860
      functionLinenumberEnd: 863
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          20
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - qubesdb_remove_watch
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-cmds.c:862,5'
          Dst:             qubesdb_remove_watch
    - functionName:    handle_client_connect
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-cmds.c'
      linkageType:     InternalLinkage
      functionLinenumber: 855
      functionLinenumberEnd: 857
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    handle_list
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-cmds.c'
      linkageType:     InternalLinkage
      functionLinenumber: 596
      functionLinenumberEnd: 635
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          138
      EdgeCount:       21
      CyclomaticComplexity: 7
      functionsReached:
        - discard_data_and_send_error
        - fprintf
        - qubesdb_search
        - strlen
        - strncmp
        - strncpy
        - write_vchan_or_client
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-cmds.c:602,9'
          Dst:             fprintf
        - Src:             '../daemon/db-cmds.c:604,16'
          Dst:             discard_data_and_send_error
        - Src:             '../daemon/db-cmds.c:608,5'
          Dst:             strncpy
        - Src:             '../daemon/db-cmds.c:612,28'
          Dst:             strlen
        - Src:             '../daemon/db-cmds.c:616,16'
          Dst:             qubesdb_search
        - Src:             '../daemon/db-cmds.c:618,14'
          Dst:             strncmp
        - Src:             '../daemon/db-cmds.c:620,9'
          Dst:             strncpy
        - Src:             '../daemon/db-cmds.c:625,14'
          Dst:             write_vchan_or_client
        - Src:             '../daemon/db-cmds.c:632,10'
          Dst:             write_vchan_or_client
    - 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:    37
      BranchProfiles:  []
      Callsites:       []
    - functionName:    discard_data_and_send_error
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-cmds.c'
      linkageType:     InternalLinkage
      functionLinenumber: 304
      functionLinenumberEnd: 312
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          56
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - discard_data
        - write_vchan_or_client
      functionUses:    7
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-cmds.c:305,9'
          Dst:             discard_data
        - Src:             '../daemon/db-cmds.c:308,13'
          Dst:             write_vchan_or_client
    - functionName:    strncpy
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    7
      BranchProfiles:  []
      Callsites:       []
    - functionName:    strncmp
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    handle_read
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-cmds.c'
      linkageType:     InternalLinkage
      functionLinenumber: 492
      functionLinenumberEnd: 516
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          110
      EdgeCount:       20
      CyclomaticComplexity: 7
      functionsReached:
        - fprintf
        - qubesdb_search
        - write_vchan_or_client
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-cmds.c:496,9'
          Dst:             fprintf
        - Src:             '../daemon/db-cmds.c:500,16'
          Dst:             qubesdb_search
        - Src:             '../daemon/db-cmds.c:504,14'
          Dst:             write_vchan_or_client
        - Src:             '../daemon/db-cmds.c:509,14'
          Dst:             write_vchan_or_client
        - Src:             '../daemon/db-cmds.c:511,14'
          Dst:             write_vchan_or_client
    - functionName:    handle_client_data
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-cmds.c'
      linkageType:     InternalLinkage
      functionLinenumber: 782
      functionLinenumberEnd: 853
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          206
      EdgeCount:       28
      CyclomaticComplexity: 5
      functionsReached:
        - discard_data_and_send_error
        - exit
        - fprintf
        - handle_list
        - handle_multiread
        - handle_read
        - handle_rm
        - handle_write
        - qubesdb_add_watch
        - qubesdb_remove_watch
        - read_vchan_or_client
        - verify_hdr
        - write_vchan_or_client
      functionUses:    1
      BranchProfiles:
        - Branch String:   '../daemon/db-cmds.c:808,5'
          Branch Sides:    []
      Callsites:
        - Src:             '../daemon/db-cmds.c:787,9'
          Dst:             fprintf
        - Src:             '../daemon/db-cmds.c:789,9'
          Dst:             exit
        - Src:             '../daemon/db-cmds.c:792,10'
          Dst:             read_vchan_or_client
        - Src:             '../daemon/db-cmds.c:797,10'
          Dst:             verify_hdr
        - Src:             '../daemon/db-cmds.c:798,9'
          Dst:             fprintf
        - Src:             '../daemon/db-cmds.c:805,16'
          Dst:             discard_data_and_send_error
        - Src:             '../daemon/db-cmds.c:810,19'
          Dst:             handle_read
        - Src:             '../daemon/db-cmds.c:814,19'
          Dst:             handle_write
        - Src:             '../daemon/db-cmds.c:818,19'
          Dst:             handle_multiread
        - Src:             '../daemon/db-cmds.c:822,19'
          Dst:             handle_list
        - Src:             '../daemon/db-cmds.c:826,19'
          Dst:             handle_rm
        - Src:             '../daemon/db-cmds.c:830,19'
          Dst:             qubesdb_add_watch
        - Src:             '../daemon/db-cmds.c:833,18'
          Dst:             write_vchan_or_client
        - Src:             '../daemon/db-cmds.c:838,19'
          Dst:             qubesdb_remove_watch
        - Src:             '../daemon/db-cmds.c:843,18'
          Dst:             write_vchan_or_client
        - Src:             '../daemon/db-cmds.c:848,13'
          Dst:             fprintf
        - Src:             '../daemon/db-cmds.c:850,20'
          Dst:             discard_data_and_send_error
    - functionName:    verify_hdr
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-cmds.c'
      linkageType:     InternalLinkage
      functionLinenumber: 96
      functionLinenumberEnd: 129
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         27
      ICount:          128
      EdgeCount:       30
      CyclomaticComplexity: 5
      functionsReached:
        - verify_path
      functionUses:    2
      BranchProfiles:
        - Branch String:   '../daemon/db-cmds.c:97,5'
          Branch Sides:    []
      Callsites:
        - Src:             '../daemon/db-cmds.c:124,10'
          Dst:             verify_path
    - functionName:    handle_write
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-cmds.c'
      linkageType:     InternalLinkage
      functionLinenumber: 396
      functionLinenumberEnd: 433
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          154
      EdgeCount:       23
      CyclomaticComplexity: 8
      functionsReached:
        - discard_data_and_send_error
        - fprintf
        - qubesdb_fire_watches
        - qubesdb_write
        - read_vchan_or_client
        - verify_data
        - write_vchan_or_client
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-cmds.c:400,10'
          Dst:             read_vchan_or_client
        - Src:             '../daemon/db-cmds.c:404,10'
          Dst:             verify_data
        - Src:             '../daemon/db-cmds.c:405,9'
          Dst:             fprintf
        - Src:             '../daemon/db-cmds.c:408,16'
          Dst:             discard_data_and_send_error
        - Src:             '../daemon/db-cmds.c:412,10'
          Dst:             qubesdb_write
        - Src:             '../daemon/db-cmds.c:413,9'
          Dst:             fprintf
        - Src:             '../daemon/db-cmds.c:416,9'
          Dst:             write_vchan_or_client
        - Src:             '../daemon/db-cmds.c:421,13'
          Dst:             write_vchan_or_client
        - Src:             '../daemon/db-cmds.c:423,13'
          Dst:             write_vchan_or_client
        - Src:             '../daemon/db-cmds.c:428,14'
          Dst:             write_vchan_or_client
        - Src:             '../daemon/db-cmds.c:430,9'
          Dst:             qubesdb_fire_watches
    - functionName:    handle_multiread
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-cmds.c'
      linkageType:     InternalLinkage
      functionLinenumber: 532
      functionLinenumberEnd: 583
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          192
      EdgeCount:       32
      CyclomaticComplexity: 10
      functionsReached:
        - discard_data_and_send_error
        - fprintf
        - qubesdb_search
        - strlen
        - strncmp
        - strncpy
        - write_vchan_or_client
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-cmds.c:538,9'
          Dst:             fprintf
        - Src:             '../daemon/db-cmds.c:540,16'
          Dst:             discard_data_and_send_error
        - Src:             '../daemon/db-cmds.c:544,5'
          Dst:             strncpy
        - Src:             '../daemon/db-cmds.c:548,28'
          Dst:             strlen
        - Src:             '../daemon/db-cmds.c:553,20'
          Dst:             qubesdb_search
        - Src:             '../daemon/db-cmds.c:560,14'
          Dst:             strncmp
        - Src:             '../daemon/db-cmds.c:562,9'
          Dst:             strncpy
        - Src:             '../daemon/db-cmds.c:567,14'
          Dst:             write_vchan_or_client
        - Src:             '../daemon/db-cmds.c:569,14'
          Dst:             write_vchan_or_client
        - Src:             '../daemon/db-cmds.c:580,10'
          Dst:             write_vchan_or_client
    - functionName:    handle_rm
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-cmds.c'
      linkageType:     InternalLinkage
      functionLinenumber: 450
      functionLinenumberEnd: 479
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          131
      EdgeCount:       27
      CyclomaticComplexity: 9
      functionsReached:
        - discard_data_and_send_error
        - fprintf
        - qubesdb_fire_watches
        - qubesdb_remove
        - write_vchan_or_client
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-cmds.c:452,9'
          Dst:             fprintf
        - Src:             '../daemon/db-cmds.c:454,16'
          Dst:             discard_data_and_send_error
        - Src:             '../daemon/db-cmds.c:457,10'
          Dst:             qubesdb_remove
        - Src:             '../daemon/db-cmds.c:460,14'
          Dst:             write_vchan_or_client
        - Src:             '../daemon/db-cmds.c:469,13'
          Dst:             write_vchan_or_client
        - Src:             '../daemon/db-cmds.c:474,14'
          Dst:             write_vchan_or_client
        - Src:             '../daemon/db-cmds.c:476,9'
          Dst:             qubesdb_fire_watches
    - functionName:    handle_vchan_multiread_resp
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-cmds.c'
      linkageType:     InternalLinkage
      functionLinenumber: 646
      functionLinenumberEnd: 671
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          114
      EdgeCount:       20
      CyclomaticComplexity: 7
      functionsReached:
        - fprintf
        - libvchan_recv
        - perror
        - qubesdb_fire_watches
        - qubesdb_write
        - verify_data
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-cmds.c:649,26'
          Dst:             libvchan_recv
        - Src:             '../daemon/db-cmds.c:650,9'
          Dst:             perror
        - Src:             '../daemon/db-cmds.c:660,10'
          Dst:             verify_data
        - Src:             '../daemon/db-cmds.c:661,9'
          Dst:             fprintf
        - Src:             '../daemon/db-cmds.c:665,10'
          Dst:             qubesdb_write
        - Src:             '../daemon/db-cmds.c:666,9'
          Dst:             fprintf
        - Src:             '../daemon/db-cmds.c:669,5'
          Dst:             qubesdb_fire_watches
    - functionName:    handle_vchan_data
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-cmds.c'
      linkageType:     InternalLinkage
      functionLinenumber: 682
      functionLinenumberEnd: 768
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         40
      ICount:          238
      EdgeCount:       52
      CyclomaticComplexity: 14
      functionsReached:
        - discard_data_and_send_error
        - fprintf
        - handle_multiread
        - handle_rm
        - handle_vchan_multiread_resp
        - handle_write
        - libvchan_buffer_space
        - libvchan_data_ready
        - libvchan_recv
        - perror
        - verify_hdr
      functionUses:    3
      BranchProfiles:
        - Branch String:   '../daemon/db-cmds.c:715,5'
          Branch Sides:    []
      Callsites:
        - Src:             '../daemon/db-cmds.c:688,13'
          Dst:             libvchan_data_ready
        - Src:             '../daemon/db-cmds.c:692,13'
          Dst:             libvchan_recv
        - Src:             '../daemon/db-cmds.c:693,13'
          Dst:             perror
        - Src:             '../daemon/db-cmds.c:696,14'
          Dst:             verify_hdr
        - Src:             '../daemon/db-cmds.c:697,13'
          Dst:             fprintf
        - Src:             '../daemon/db-cmds.c:709,9'
          Dst:             libvchan_data_ready
        - Src:             '../daemon/db-cmds.c:717,18'
          Dst:             handle_write
        - Src:             '../daemon/db-cmds.c:722,17'
          Dst:             fprintf
        - Src:             '../daemon/db-cmds.c:724,17'
          Dst:             discard_data_and_send_error
        - Src:             '../daemon/db-cmds.c:727,18'
          Dst:             handle_multiread
        - Src:             '../daemon/db-cmds.c:736,17'
          Dst:             libvchan_buffer_space
        - Src:             '../daemon/db-cmds.c:737,17'
          Dst:             fprintf
        - Src:             '../daemon/db-cmds.c:741,18'
          Dst:             handle_rm
        - Src:             '../daemon/db-cmds.c:748,13'
          Dst:             fprintf
        - Src:             '../daemon/db-cmds.c:750,17'
          Dst:             fprintf
        - Src:             '../daemon/db-cmds.c:756,22'
          Dst:             handle_vchan_multiread_resp
        - Src:             '../daemon/db-cmds.c:759,17'
          Dst:             fprintf
        - Src:             '../daemon/db-cmds.c:764,13'
          Dst:             fprintf
    - functionName:    write_client_buffered
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-cmds.c'
      linkageType:     InternalLinkage
      functionLinenumber: 322
      functionLinenumberEnd: 371
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          209
      EdgeCount:       42
      CyclomaticComplexity: 12
      functionsReached:
        - __assert_fail
        - __errno_location
        - buffer_append
        - buffer_data
        - buffer_datacount
        - buffer_substract
        - fcntl
        - perror
        - write
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-cmds.c:325,5'
          Dst:             __assert_fail
        - Src:             '../daemon/db-cmds.c:327,9'
          Dst:             fcntl
        - Src:             '../daemon/db-cmds.c:328,9'
          Dst:             perror
        - Src:             '../daemon/db-cmds.c:331,29'
          Dst:             buffer_datacount
        - Src:             '../daemon/db-cmds.c:332,33'
          Dst:             buffer_data
        - Src:             '../daemon/db-cmds.c:332,15'
          Dst:             write
        - Src:             '../daemon/db-cmds.c:334,17'
          Dst:             __errno_location
        - Src:             '../daemon/db-cmds.c:334,36'
          Dst:             __errno_location
        - Src:             '../daemon/db-cmds.c:335,17'
          Dst:             buffer_append
        - Src:             '../daemon/db-cmds.c:340,17'
          Dst:             buffer_substract
        - Src:             '../daemon/db-cmds.c:346,9'
          Dst:             buffer_substract
        - Src:             '../daemon/db-cmds.c:351,15'
          Dst:             write
        - Src:             '../daemon/db-cmds.c:353,17'
          Dst:             __errno_location
        - Src:             '../daemon/db-cmds.c:353,36'
          Dst:             __errno_location
        - Src:             '../daemon/db-cmds.c:354,17'
          Dst:             buffer_append
        - Src:             '../daemon/db-cmds.c:357,17'
          Dst:             perror
        - Src:             '../daemon/db-cmds.c:366,9'
          Dst:             fcntl
        - Src:             '../daemon/db-cmds.c:367,9'
          Dst:             perror
    - functionName:    fcntl
      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:    qubesdb_fire_watches
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-core.c'
      linkageType:     InternalLinkage
      functionLinenumber: 244
      functionLinenumberEnd: 274
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         14
      ICount:          102
      EdgeCount:       18
      CyclomaticComplexity: 6
      functionsReached:
        - fprintf
        - strncmp
        - strncpy
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-core.c:251,13'
          Dst:             strncmp
        - Src:             '../daemon/db-core.c:254,13'
          Dst:             strncpy
        - Src:             '../daemon/db-core.c:263,17'
          Dst:             fprintf
    - functionName:    qubesdb_remove_watch
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-core.c'
      linkageType:     InternalLinkage
      functionLinenumber: 214
      functionLinenumberEnd: 241
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          119
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - strcmp
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-core.c:222,27'
          Dst:             strcmp
    - functionName:    strcmp
      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:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    qubesdb_add_watch
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-core.c'
      linkageType:     InternalLinkage
      functionLinenumber: 191
      functionLinenumberEnd: 211
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          93
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - calloc
        - strlen
        - strncpy
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-core.c:194,17'
          Dst:             calloc
        - Src:             '../daemon/db-core.c:203,5'
          Dst:             strncpy
        - Src:             '../daemon/db-core.c:207,31'
          Dst:             strlen
    - functionName:    calloc
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    qubesdb_remove
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-core.c'
      linkageType:     InternalLinkage
      functionLinenumber: 157
      functionLinenumberEnd: 188
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          140
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - buffer_secure_zero
        - qubesdb_search
        - strlen
        - strncmp
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-core.c:163,20'
          Dst:             strlen
        - Src:             '../daemon/db-core.c:173,13'
          Dst:             qubesdb_search
        - Src:             '../daemon/db-core.c:176,36'
          Dst:             strncmp
        - Src:             '../daemon/db-core.c:182,9'
          Dst:             buffer_secure_zero
    - functionName:    qubesdb_search
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-core.c'
      linkageType:     InternalLinkage
      functionLinenumber: 68
      functionLinenumberEnd: 90
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          91
      EdgeCount:       20
      CyclomaticComplexity: 7
      functionsReached:
        - strcmp
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-core.c:75,16'
          Dst:             strcmp
    - functionName:    buffer_secure_zero
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/buffer.h'
      linkageType:     InternalLinkage
      functionLinenumber: 48
      functionLinenumberEnd: 56
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          11
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    qubesdb_write
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-core.c'
      linkageType:     InternalLinkage
      functionLinenumber: 132
      functionLinenumberEnd: 155
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          109
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached:
        - _exit
        - buffer_secure_zero
        - fputs
        - qubesdb_insert
        - strdup
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-core.c:135,16'
          Dst:             qubesdb_insert
        - Src:             '../daemon/db-core.c:140,9'
          Dst:             buffer_secure_zero
        - Src:             '../daemon/db-core.c:147,27'
          Dst:             strdup
        - Src:             '../daemon/db-core.c:150,9'
          Dst:             fputs
        - Src:             '../daemon/db-core.c:151,9'
          Dst:             _exit
    - functionName:    qubesdb_insert
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-core.c'
      linkageType:     InternalLinkage
      functionLinenumber: 92
      functionLinenumberEnd: 130
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         18
      ICount:          134
      EdgeCount:       25
      CyclomaticComplexity: 9
      functionsReached:
        - calloc
        - qubesdb_search
        - strcmp
        - strlen
        - strncpy
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-core.c:102,14'
          Dst:             strlen
        - Src:             '../daemon/db-core.c:104,9'
          Dst:             strlen
        - Src:             '../daemon/db-core.c:106,13'
          Dst:             qubesdb_search
        - Src:             '../daemon/db-core.c:110,9'
          Dst:             strcmp
        - Src:             '../daemon/db-core.c:114,21'
          Dst:             calloc
        - Src:             '../daemon/db-core.c:118,9'
          Dst:             strncpy
    - 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:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fputs
      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:    _exit
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    qubesdb_destroy
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-core.c'
      linkageType:     InternalLinkage
      functionLinenumber: 44
      functionLinenumberEnd: 66
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         6
      ICount:          95
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - buffer_secure_zero
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-core.c:56,9'
          Dst:             buffer_secure_zero
        - Src:             '../daemon/db-core.c:61,5'
          Dst:             buffer_secure_zero
    - functionName:    qubesdb_init
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-core.c'
      linkageType:     InternalLinkage
      functionLinenumber: 16
      functionLinenumberEnd: 42
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         8
      ICount:          94
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - strdup
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-core.c:34,26'
          Dst:             strdup
    - functionName:    add_client
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-daemon.c'
      linkageType:     InternalLinkage
      functionLinenumber: 56
      functionLinenumberEnd: 76
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         8
      ICount:          70
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - buffer_create
        - fprintf
        - handle_client_connect
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-daemon.c:61,9'
          Dst:             fprintf
        - Src:             '../daemon/db-daemon.c:66,27'
          Dst:             buffer_create
        - Src:             '../daemon/db-daemon.c:68,9'
          Dst:             fprintf
        - Src:             '../daemon/db-daemon.c:75,12'
          Dst:             handle_client_connect
    - functionName:    accept_new_client
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-daemon.c'
      linkageType:     InternalLinkage
      functionLinenumber: 114
      functionLinenumberEnd: 125
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         5
      ICount:          42
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached:
        - accept
        - add_client
        - exit
        - perror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-daemon.c:120,21'
          Dst:             accept
        - Src:             '../daemon/db-daemon.c:122,9'
          Dst:             perror
        - Src:             '../daemon/db-daemon.c:123,9'
          Dst:             exit
        - Src:             '../daemon/db-daemon.c:125,12'
          Dst:             add_client
    - functionName:    accept
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    disconnect_client
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-daemon.c'
      linkageType:     InternalLinkage
      functionLinenumber: 83
      functionLinenumberEnd: 108
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          93
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - buffer_free
        - close
        - handle_client_disconnect
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-daemon.c:86,10'
          Dst:             handle_client_disconnect
        - Src:             '../daemon/db-daemon.c:89,5'
          Dst:             close
        - Src:             '../daemon/db-daemon.c:90,5'
          Dst:             buffer_free
    - 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:    9
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fill_fdsets_for_select
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-daemon.c'
      linkageType:     InternalLinkage
      functionLinenumber: 381
      functionLinenumberEnd: 410
      functionDepth:   0
      returnType:      size_t
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         12
      ICount:          114
      EdgeCount:       14
      CyclomaticComplexity: 4
      functionsReached:
        - __assert_fail
        - buffer_datacount
        - libvchan_fd_for_select
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-daemon.c:391,26'
          Dst:             libvchan_fd_for_select
        - Src:             '../daemon/db-daemon.c:398,9'
          Dst:             __assert_fail
        - Src:             '../daemon/db-daemon.c:405,23'
          Dst:             buffer_datacount
    - functionName:    remove_pidfile
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-daemon.c'
      linkageType:     InternalLinkage
      functionLinenumber: 649
      functionLinenumberEnd: 664
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          58
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - snprintf
        - stat
        - unlink
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-daemon.c:656,5'
          Dst:             snprintf
        - Src:             '../daemon/db-daemon.c:659,9'
          Dst:             stat
        - Src:             '../daemon/db-daemon.c:662,13'
          Dst:             unlink
    - functionName:    snprintf
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    stat
      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:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    unlink
      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:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    close_server_socket
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-daemon.c'
      linkageType:     InternalLinkage
      functionLinenumber: 666
      functionLinenumberEnd: 685
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         13
      ICount:          77
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - close
        - getsockname
        - stat
        - unlink
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-daemon.c:675,9'
          Dst:             getsockname
        - Src:             '../daemon/db-daemon.c:679,5'
          Dst:             close
        - Src:             '../daemon/db-daemon.c:680,9'
          Dst:             stat
        - Src:             '../daemon/db-daemon.c:683,13'
          Dst:             unlink
    - functionName:    getsockname
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - int
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    mainloop
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-daemon.c'
      linkageType:     InternalLinkage
      functionLinenumber: 413
      functionLinenumberEnd: 511
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         66
      ICount:          335
      EdgeCount:       83
      CyclomaticComplexity: 19
      functionsReached:
        - __assert_fail
        - __errno_location
        - accept_new_client
        - disconnect_client
        - exit
        - fill_fdsets_for_select
        - fprintf
        - handle_client_data
        - handle_vchan_data
        - init_vchan
        - libvchan_buffer_space
        - libvchan_data_ready
        - libvchan_is_open
        - libvchan_wait
        - perror
        - ppoll
        - request_full_db_sync
        - sigaddset
        - sigemptyset
        - sigprocmask
        - write_client_buffered
        - write_vchan_or_client
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-daemon.c:421,5'
          Dst:             sigemptyset
        - Src:             '../daemon/db-daemon.c:422,5'
          Dst:             sigaddset
        - Src:             '../daemon/db-daemon.c:426,29'
          Dst:             fill_fdsets_for_select
        - Src:             '../daemon/db-daemon.c:427,9'
          Dst:             __assert_fail
        - Src:             '../daemon/db-daemon.c:428,9'
          Dst:             __assert_fail
        - Src:             '../daemon/db-daemon.c:430,13'
          Dst:             sigprocmask
        - Src:             '../daemon/db-daemon.c:431,13'
          Dst:             perror
        - Src:             '../daemon/db-daemon.c:435,13'
          Dst:             fprintf
        - Src:             '../daemon/db-daemon.c:438,15'
          Dst:             ppoll
        - Src:             '../daemon/db-daemon.c:440,17'
          Dst:             __errno_location
        - Src:             '../daemon/db-daemon.c:442,13'
          Dst:             perror
        - Src:             '../daemon/db-daemon.c:446,9'
          Dst:             sigprocmask
        - Src:             '../daemon/db-daemon.c:450,17'
          Dst:             libvchan_wait
        - Src:             '../daemon/db-daemon.c:451,18'
          Dst:             libvchan_is_open
        - Src:             '../daemon/db-daemon.c:452,17'
          Dst:             fprintf
        - Src:             '../daemon/db-daemon.c:456,21'
          Dst:             fprintf
        - Src:             '../daemon/db-daemon.c:457,26'
          Dst:             init_vchan
        - Src:             '../daemon/db-daemon.c:458,25'
          Dst:             fprintf
        - Src:             '../daemon/db-daemon.c:465,30'
          Dst:             request_full_db_sync
        - Src:             '../daemon/db-daemon.c:466,29'
          Dst:             fprintf
        - Src:             '../daemon/db-daemon.c:467,29'
          Dst:             exit
        - Src:             '../daemon/db-daemon.c:477,17'
          Dst:             libvchan_buffer_space
        - Src:             '../daemon/db-daemon.c:478,17'
          Dst:             write_vchan_or_client
        - Src:             '../daemon/db-daemon.c:479,20'
          Dst:             libvchan_data_ready
        - Src:             '../daemon/db-daemon.c:480,22'
          Dst:             handle_vchan_data
        - Src:             '../daemon/db-daemon.c:481,21'
          Dst:             fprintf
        - Src:             '../daemon/db-daemon.c:482,21'
          Dst:             exit
        - Src:             '../daemon/db-daemon.c:489,13'
          Dst:             __assert_fail
        - Src:             '../daemon/db-daemon.c:493,17'
          Dst:             write_client_buffered
        - Src:             '../daemon/db-daemon.c:496,22'
          Dst:             handle_client_data
        - Src:             '../daemon/db-daemon.c:499,21'
          Dst:             disconnect_client
        - Src:             '../daemon/db-daemon.c:505,9'
          Dst:             __assert_fail
        - Src:             '../daemon/db-daemon.c:508,13'
          Dst:             accept_new_client
    - functionName:    sigemptyset
      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:    sigaddset
      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:    sigprocmask
      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:    ppoll
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    init_vchan
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-daemon.c'
      linkageType:     InternalLinkage
      functionLinenumber: 576
      functionLinenumberEnd: 620
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         18
      ICount:          128
      EdgeCount:       24
      CyclomaticComplexity: 8
      functionsReached:
        - buffer_create
        - buffer_free
        - fprintf
        - libvchan_client_init
        - libvchan_close
        - libvchan_server_init
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-daemon.c:578,9'
          Dst:             buffer_free
        - Src:             '../daemon/db-daemon.c:579,9'
          Dst:             libvchan_close
        - Src:             '../daemon/db-daemon.c:582,23'
          Dst:             buffer_create
        - Src:             '../daemon/db-daemon.c:584,9'
          Dst:             fprintf
        - Src:             '../daemon/db-daemon.c:597,20'
          Dst:             libvchan_server_init
        - Src:             '../daemon/db-daemon.c:609,20'
          Dst:             libvchan_client_init
    - functionName:    create_pidfile
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-daemon.c'
      linkageType:     InternalLinkage
      functionLinenumber: 623
      functionLinenumberEnd: 647
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         11
      ICount:          77
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - fclose
        - fileno
        - fopen
        - fprintf
        - fstat
        - getpid
        - perror
        - snprintf
        - umask
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-daemon.c:632,5'
          Dst:             snprintf
        - Src:             '../daemon/db-daemon.c:635,17'
          Dst:             umask
        - Src:             '../daemon/db-daemon.c:636,15'
          Dst:             fopen
        - Src:             '../daemon/db-daemon.c:637,5'
          Dst:             umask
        - Src:             '../daemon/db-daemon.c:639,9'
          Dst:             perror
        - Src:             '../daemon/db-daemon.c:642,30'
          Dst:             getpid
        - Src:             '../daemon/db-daemon.c:642,5'
          Dst:             fprintf
        - Src:             '../daemon/db-daemon.c:643,15'
          Dst:             fileno
        - Src:             '../daemon/db-daemon.c:643,9'
          Dst:             fstat
        - Src:             '../daemon/db-daemon.c:645,5'
          Dst:             fclose
    - functionName:    umask
      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:    6
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fopen
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    getpid
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fileno
      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:    fstat
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    fclose
      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:    init_server_socket
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-daemon.c'
      linkageType:     InternalLinkage
      functionLinenumber: 514
      functionLinenumberEnd: 572
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         31
      ICount:          188
      EdgeCount:       42
      CyclomaticComplexity: 13
      functionsReached:
        - __errno_location
        - bind
        - close
        - listen
        - mkdir
        - perror
        - snprintf
        - socket
        - stat
        - strcpy
        - symlink
        - umask
        - unlink
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-daemon.c:522,9'
          Dst:             mkdir
        - Src:             '../daemon/db-daemon.c:522,42'
          Dst:             __errno_location
        - Src:             '../daemon/db-daemon.c:523,9'
          Dst:             perror
        - Src:             '../daemon/db-daemon.c:527,23'
          Dst:             snprintf
        - Src:             '../daemon/db-daemon.c:530,13'
          Dst:             perror
        - Src:             '../daemon/db-daemon.c:535,13'
          Dst:             unlink
        - Src:             '../daemon/db-daemon.c:536,17'
          Dst:             symlink
        - Src:             '../daemon/db-daemon.c:537,17'
          Dst:             perror
        - Src:             '../daemon/db-daemon.c:544,9'
          Dst:             strcpy
        - Src:             '../daemon/db-daemon.c:547,9'
          Dst:             unlink
        - Src:             '../daemon/db-daemon.c:547,38'
          Dst:             __errno_location
        - Src:             '../daemon/db-daemon.c:548,9'
          Dst:             perror
        - Src:             '../daemon/db-daemon.c:553,17'
          Dst:             umask
        - Src:             '../daemon/db-daemon.c:555,9'
          Dst:             socket
        - Src:             '../daemon/db-daemon.c:556,9'
          Dst:             bind
        - Src:             '../daemon/db-daemon.c:557,9'
          Dst:             perror
        - Src:             '../daemon/db-daemon.c:558,9'
          Dst:             close
        - Src:             '../daemon/db-daemon.c:562,9'
          Dst:             listen
        - Src:             '../daemon/db-daemon.c:563,9'
          Dst:             perror
        - Src:             '../daemon/db-daemon.c:564,9'
          Dst:             close
        - Src:             '../daemon/db-daemon.c:568,5'
          Dst:             umask
        - Src:             '../daemon/db-daemon.c:569,9'
          Dst:             stat
    - functionName:    mkdir
      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:    symlink
      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:    strcpy
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - '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:    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:    1
      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:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sigterm_handler
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-daemon.c'
      linkageType:     InternalLinkage
      functionLinenumber: 47
      functionLinenumberEnd: 49
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          7
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    usage
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-daemon.c'
      linkageType:     InternalLinkage
      functionLinenumber: 688
      functionLinenumberEnd: 691
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          18
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - fprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             '../daemon/db-daemon.c:689,5'
          Dst:             fprintf
        - Src:             '../daemon/db-daemon.c:690,5'
          Dst:             fprintf
    - functionName:    fuzz_main
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/../daemon/db-daemon.c'
      linkageType:     InternalLinkage
      functionLinenumber: 716
      functionLinenumberEnd: 874
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         48
      ICount:          293
      EdgeCount:       53
      CyclomaticComplexity: 7
      functionsReached:
        - atoi
        - close
        - close_server_socket
        - create_pidfile
        - dup2
        - exit
        - fork
        - fprintf
        - handle_vchan_data
        - init_server_socket
        - init_vchan
        - mainloop
        - open
        - perror
        - pipe
        - qubesdb_init
        - read
        - remove_pidfile
        - request_full_db_sync
        - setsid
        - signal
        - sigterm_handler
        - snprintf
        - strlen
        - umask
        - usage
        - write
        - write_client_buffered
      functionUses:    0
      BranchProfiles:
        - Branch String:   '../daemon/db-daemon.c:759,9'
          Branch Sides:    []
      Callsites:
        - Src:             '../daemon/db-daemon.c:725,9'
          Dst:             usage
        - Src:             '../daemon/db-daemon.c:726,9'
          Dst:             exit
        - Src:             '../daemon/db-daemon.c:735,22'
          Dst:             atoi
        - Src:             '../daemon/db-daemon.c:736,22'
          Dst:             strlen
        - Src:             '../daemon/db-daemon.c:755,13'
          Dst:             pipe
        - Src:             '../daemon/db-daemon.c:756,13'
          Dst:             perror
        - Src:             '../daemon/db-daemon.c:757,13'
          Dst:             exit
        - Src:             '../daemon/db-daemon.c:759,17'
          Dst:             fork
        - Src:             '../daemon/db-daemon.c:761,17'
          Dst:             perror
        - Src:             '../daemon/db-daemon.c:762,17'
          Dst:             exit
        - Src:             '../daemon/db-daemon.c:764,17'
          Dst:             close
        - Src:             '../daemon/db-daemon.c:765,17'
          Dst:             snprintf
        - Src:             '../daemon/db-daemon.c:767,17'
          Dst:             close
        - Src:             '../daemon/db-daemon.c:768,29'
          Dst:             umask
        - Src:             '../daemon/db-daemon.c:769,26'
          Dst:             open
        - Src:             '../daemon/db-daemon.c:770,17'
          Dst:             umask
        - Src:             '../daemon/db-daemon.c:772,21'
          Dst:             perror
        - Src:             '../daemon/db-daemon.c:773,21'
          Dst:             exit
        - Src:             '../daemon/db-daemon.c:775,17'
          Dst:             dup2
        - Src:             '../daemon/db-daemon.c:776,17'
          Dst:             dup2
        - Src:             '../daemon/db-daemon.c:777,17'
          Dst:             close
        - Src:             '../daemon/db-daemon.c:779,17'
          Dst:             setsid
        - Src:             '../daemon/db-daemon.c:783,17'
          Dst:             close
        - Src:             '../daemon/db-daemon.c:784,21'
          Dst:             read
        - Src:             '../daemon/db-daemon.c:785,21'
          Dst:             fprintf
        - Src:             '../daemon/db-daemon.c:786,21'
          Dst:             exit
        - Src:             '../daemon/db-daemon.c:788,17'
          Dst:             exit
        - Src:             '../daemon/db-daemon.c:793,5'
          Dst:             signal
        - Src:             '../daemon/db-daemon.c:793,5'
          Dst:             sigterm_handler
        - Src:             '../daemon/db-daemon.c:797,12'
          Dst:             qubesdb_init
        - Src:             '../daemon/db-daemon.c:797,12'
          Dst:             write_client_buffered
        - Src:             '../daemon/db-daemon.c:804,9'
          Dst:             fprintf
        - Src:             '../daemon/db-daemon.c:805,9'
          Dst:             exit
        - Src:             '../daemon/db-daemon.c:808,10'
          Dst:             init_server_socket
        - Src:             '../daemon/db-daemon.c:809,9'
          Dst:             fprintf
        - Src:             '../daemon/db-daemon.c:810,9'
          Dst:             exit
        - Src:             '../daemon/db-daemon.c:829,10'
          Dst:             init_vchan
        - Src:             '../daemon/db-daemon.c:830,9'
          Dst:             fprintf
        - Src:             '../daemon/db-daemon.c:831,9'
          Dst:             exit
        - Src:             '../daemon/db-daemon.c:836,14'
          Dst:             request_full_db_sync
        - Src:             '../daemon/db-daemon.c:837,13'
          Dst:             fprintf
        - Src:             '../daemon/db-daemon.c:838,13'
          Dst:             exit
        - Src:             '../daemon/db-daemon.c:843,18'
          Dst:             handle_vchan_data
        - Src:             '../daemon/db-daemon.c:844,17'
          Dst:             fprintf
        - Src:             '../daemon/db-daemon.c:845,17'
          Dst:             exit
        - Src:             '../daemon/db-daemon.c:858,13'
          Dst:             write
        - Src:             '../daemon/db-daemon.c:859,13'
          Dst:             perror
        - Src:             '../daemon/db-daemon.c:860,9'
          Dst:             close
        - Src:             '../daemon/db-daemon.c:863,5'
          Dst:             create_pidfile
        - Src:             '../daemon/db-daemon.c:865,12'
          Dst:             mainloop
        - Src:             '../daemon/db-daemon.c:868,5'
          Dst:             close_server_socket
        - Src:             '../daemon/db-daemon.c:871,5'
          Dst:             remove_pidfile
    - functionName:    atoi
      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:    pipe
      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:    fork
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    open
      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:    dup2
      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:    setsid
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      int
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    signal
      functionSourceFile: ''
      linkageType:     externalLinkage
      functionLinenumber: -1
      functionLinenumberEnd: 0
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         0
      ICount:          0
      EdgeCount:       0
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    LLVMFuzzerTestOneInput
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/db-daemon_fuzzer.c'
      linkageType:     externalLinkage
      functionLinenumber: 127
      functionLinenumberEnd: 142
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         9
      ICount:          57
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - handle_vchan_data
        - qubesdb_destroy
        - qubesdb_init
        - write_client_buffered
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'db-daemon_fuzzer.c:135,9'
          Dst:             qubesdb_init
        - Src:             'db-daemon_fuzzer.c:135,9'
          Dst:             write_client_buffered
        - Src:             'db-daemon_fuzzer.c:138,22'
          Dst:             handle_vchan_data
        - Src:             'db-daemon_fuzzer.c:140,2'
          Dst:             qubesdb_destroy
    - functionName:    pselect
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/db-daemon_fuzzer.c'
      linkageType:     externalLinkage
      functionLinenumber: 123
      functionLinenumberEnd: 124
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - int
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          16
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sd_notify
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/db-daemon_fuzzer.c'
      linkageType:     InternalLinkage
      functionLinenumber: 116
      functionLinenumberEnd: 117
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    libvchan_client_init
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/db-daemon_fuzzer.c'
      linkageType:     InternalLinkage
      functionLinenumber: 111
      functionLinenumberEnd: 113
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          11
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    libvchan_server_init
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/db-daemon_fuzzer.c'
      linkageType:     InternalLinkage
      functionLinenumber: 106
      functionLinenumberEnd: 108
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - int
        - int
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          15
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    libvchan_buffer_space
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/db-daemon_fuzzer.c'
      linkageType:     InternalLinkage
      functionLinenumber: 101
      functionLinenumberEnd: 102
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    libvchan_data_ready
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/db-daemon_fuzzer.c'
      linkageType:     InternalLinkage
      functionLinenumber: 97
      functionLinenumberEnd: 98
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    3
      BranchProfiles:  []
      Callsites:       []
    - functionName:    libvchan_is_open
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/db-daemon_fuzzer.c'
      linkageType:     InternalLinkage
      functionLinenumber: 93
      functionLinenumberEnd: 94
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    libvchan_fd_for_select
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/db-daemon_fuzzer.c'
      linkageType:     InternalLinkage
      functionLinenumber: 89
      functionLinenumberEnd: 90
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    libvchan_close
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/db-daemon_fuzzer.c'
      linkageType:     InternalLinkage
      functionLinenumber: 85
      functionLinenumberEnd: 86
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    libvchan_wait
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/db-daemon_fuzzer.c'
      linkageType:     InternalLinkage
      functionLinenumber: 81
      functionLinenumberEnd: 82
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          6
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    libvchan_recv
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/db-daemon_fuzzer.c'
      linkageType:     InternalLinkage
      functionLinenumber: 67
      functionLinenumberEnd: 79
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          55
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - __errno_location
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'db-daemon_fuzzer.c:69,3'
          Dst:             __errno_location
    - functionName:    libvchan_read
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/db-daemon_fuzzer.c'
      linkageType:     InternalLinkage
      functionLinenumber: 53
      functionLinenumberEnd: 63
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         4
      ICount:          44
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    libvchan_send
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/db-daemon_fuzzer.c'
      linkageType:     InternalLinkage
      functionLinenumber: 49
      functionLinenumberEnd: 50
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          12
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    libvchan_write
      functionSourceFile: '/src/qubes-os/qubes-core-qubesdb/fuzz/db-daemon_fuzzer.c'
      linkageType:     InternalLinkage
      functionLinenumber: 45
      functionLinenumberEnd: 46
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         1
      ICount:          12
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
...
